Tech Journal Back to Tech Journal

Log files aren't rotating, just growing

If your log files are just growing, and not rotating, try running logrotate manually (it's usually run as a cron jub from /etc/cron.daily)
To run logrotate manually, just give it as a paramater the config file. Like this:

/usr/sbin/logrotate /etc/logrotate.conf

Note: If it really hasn't run in a while, it may take a long time to rotate...

Last updated on 2005-07-29 14:00:00 -0800, by Shalom Craimer

Back to Tech Journal