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

Re: [cobalt-users] Log files disappearing....



> We have a high traffic 4i cobalt server with about 140 sites.  One of the
> sites has multiple internet connected kiosks in a high (people) traffic
> location in downtown Toronto, and the log files are approx 50 Mb/week.  We'd
> like to be able to get analysis done on the traffic but my log files seem to
> disappear, how do I change the threshold so it keeps my log files for at
> least a month??

Logrotation is handled by Logrotate on my Raq2. I'm pretty sure the Raq4's
use the same thing. In your /etc directory there should be two directories
called /logrotate.d and /logrotate.onboot. Those directories house the
configuration files for each site on your server. Be sure to edit both
configuration files in /logrotate.d and /logrotate.onboot. They will be
named appropriately, like site1, site2, etc. You'll have to edit those files
by hand using pico, vi or emacs. However, if you make changes to the site
through the GUI your changes will be overwritten.

You can find all the configuration options in the manual pages for
logrotate. I believe your looking for the "monthly" option. Type man
logrotate at the shell prompt for the man pages.

HTH,
Jay