Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Feb 132010

How to check the logrotate status?


To check the current logrotate status, e.g. which files are covered by logrotate, what are their last processed date etc.

You can check the /var/lib/logrotate/status file

# cat /var/lib/logrotate/status

"/var/log/apache2/access.log" 2008-12-7
"/var/log/apache2/error.log" 2009-1-25
"/var/log/apache2/other_vhosts_access.log" 2009-1-25
"/var/log/apt/term.log" 2010-2-1


 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>