rotating debian log files

The way to rotate all files that are usually rotated with debian’s file rotation program “logrotate”, you execute the following.

logrotate -f /etc/logrotate.conf

/etc/logrotate.conf contains a list of log files that need to be rotated, you can write your own if you like.

Leave a Reply

Your email address will not be published. Required fields are marked *