Hylton Conacher (ZR1HPC) wrote:
I would like to check my system is logrotating as I cannot have the partition it is outgrow the HDD.
How would I check, besides viewing the cron_daily etc scripts, that the logrotated had run and compressed any of my logs?
Check your /var/log directory. You should see multiple versions of rotated files. mmm, I do see a few <logfilename>-<date>.gz files. I would assume that
James Knott wrote: Thanks James, these are also deleted by the 'rotate' option in /etc/logrotate.conf but I see that I have files there from Jan and yet rotate in the above file is set to 4 ? (Tnx Pat you got me to look at the man page :) ) -- The Little Helper ======================================================================== Hylton Conacher - Linux user # 229959 at http://counter.li.org Currently using SuSE 9.0 Professional with KDE 3.1 Licenced Windows user ========================================================================