Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-3284: How to rotate Centrify debug logs after it reaches a certain size?

Centrify DirectControl ,  

12 April,16 at 11:47 AM

Applies to: Centrify DirectControl on AIX
 
Question:
 
Centrify debug logs seem to roll over very quickly approximately every 5MBs. 
 
Is it possible to change this value?
 
Answer:
 
As root, edit /usr/share/centrifydc/bin/addebug script and look for the line below.
 
The 5m refers to 5 MBs (default).
 
 # Enable log rotation
            CDC_LOG_OPTIONS="\trotate size 5m files 5 compress"
 
This value can be changed to the desired value such as "50m" or "100m". 
The other number refers to the number of roll-over files saved.

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.