* Hylton Conacher (ZR1HPC)
Now I see a little clearer on the log file issue. So if I wanted to add another system log file to be rotated like the ones already listed how do I decide on which I should just add into the /etc/logrotate.d/syslog file?
the files you place in /etc/logrotate.d/ are expected by the system to be files for logrotate/logdigest to act on. Open several of the files and look at their contents. Read the man page for an explanation and examples of use of the different parameters.
I got a fortune of wtmp.gz files that go way back to Jan 2004. I tried using OOo to view the ungzipped wtmp file but got 34 pages of rubbish. To get rid of the number of wtmp files held, where do I edit the 'maxage' option as I do not see a /var/log/wtmp entry in the /var/log/syslog file. Should I rather edit the maxage of the /etc/logrotate.d/wtmp file??
edit the maxage paramter in /etc/logrotat.d/wtmp, it is in daz. .... Each of the files in /etc/logrotate.d/ should contain the 'maxage' parameter. If not, they will never be deleted.
NOTE: The long manner you answered the question rather than the 'RTFM' was appreciated.
But, if you reread the post, RTFM *was* what I said, buttered up a little. :^) You took the time and made effort to help yourself and were provided assistance and are learning from it. You will be able to do the same thing in another situation (if you think about it the same way) in the future and can provide help to others. gud luk, -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos