Dec 312009
How to check the current logrotate status?
Answer:
logrotate will maintain a status file, normally at the location /var/lib/logrotate/status , you can view the content of this file to see the latest status of all log files managed by logrotate.
Example:
logrotate state -- version 2
"/var/log/apache2/access.log" 2008-12-7
"/var/log/apache2/error.log" 2009-1-25
...
Therefore, it is useful to verify if your desired log files are controlled by logrotate or not.