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

Re: [cobalt-users] Log files



Thanks for that. Done that one. It's 20 megs but still only goes back 2
days.

Logrotation is handled by logrotate. The configuration files are located in /etc/logrotate.d and /etc/logrotate.onboot. The default Cobalt way to rotate logs is based on site quotas. If you want the logs to rotate monthly, then you'll need to change the configuration file in /etc/logrotate.* to monthly instead of size. man logrotate for more info.

HTH,
j

p.s. If you changed the site via the gui, your custom logrotate files will be overwritten, so back them up.