[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] log file size



Fathi Said wrote:
> 
> Brian,
> 
> Are you sure that the logs are ONLY rotated if they reach a certain size? AFAIK they are rotated (1) if they reach a certain size
> and (2) weekly, no matter how large they are.
> 
> /etc/cron.daily/logrotate is, of course, executed every 24 hours with /etc/logrotate.conf as configuration file. If you have a look
> at exactly this /etc/logrotate.conf then you'll know what I mean (with (2)).
> 

Yes, /etc/logrotate.conf is over-ridden if there is a file for the log in
/etc/logrotate.d/
If you are running DNS on your raq, you can verify it by looking at the log file for
your name server...
For example, the log file for ns2.badweb.com has never been rotated because it
doesn't get any http traffic... Even if it did, there is just a page there
redirecting you to www.badweb.com...
-- 
Brian

*******************************************************************

Visit my home page at http://www2.cybernex.net/~bcsurfer/index.html

Or my business site at http://www.badweb.com/index.html

*******************************************************************