How does logrotate use its status file?
It seems the status file is only a record of the last day logrotate dealt with a log file.
But I am using logrotate for non-system purposes and the rotation is based entirely on size (not frequency). So I thought I might ignore the status file entirely. I run logrotate like so (in a cron job):
logrotate -s /dev/null .logrotate.conf
and it works fine.
Am I missing anything?
|