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?

Authentication Service ,  

26 June,20 at 09:58 PM

Question:
  
On AIX, Centrify debug log rolls over approximately every 5MBs. Is it possible to change this value?
 
Answer:
  
Yes.  The addebug script can be modified to increase the size of the file before is will be rotated
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". 
 
User-added image
  
The second argument 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.