Tuesday, June 24, 2008

Forcing logrotation with logrotate

In my previous post i explained how to setup a simple logrotation (http://serverlinux.blogspot.com/2006/02/logrotate-in-linux.html), now i would like to show a simple but usefull command that forces the logrotation, independent of the normal execution.

# logrotate -f /etc/logrotate.conf

For more information, see "man logrotate". LOGROTATE(8).

0 comentarios: