[GLLUG] Fedora Logrotate

Mick Farmer mick at plan7.co.uk
Wed Nov 6 18:47:19 UTC 2013


Dear GLLUGers,

Yesterday I noticed that my log files haven't been rotated since March
last year.  For example, here's just the system log set.

 ls -l /var/log/messages*
-rw-------  1 root root    368340 Nov  6 18:25 /var/log/messages
-rw-------. 1 root root   1424138 Mar  4 2012 /var/log/messages-20120304
-rw-------. 1 root root   1253862 Mar 11 2012 /var/log/messages-20120311
-rw-------. 1 root root   1513071 Mar 19 2012 /var/log/messages-20120319
-rw-------. 1 root root 116630092 Nov  5 9:46 /var/log/messages-20131105

I immediately rotated them, as you can see from the large one rotated
yesterday.

I don't  know why logrotate stopped, but how do I ensure that it runs
daily (it's in /etc/cron.daily)?

Regards,

Mick
-- 
Mick Farmer

Registered Linux User# 551012





More information about the GLLUG mailing list