Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Black on July 21, 2005, 05:54:39 PM
-
Hello all a few days ago I posted an issue with Logrotate locking up and running to long and the only advice was to follow the man page and figure it out..
my crontab has Logrotate running daily and everytime it runs it runs FOREVER and has my CPU time past 90%.
I want to Manual delete log files in /var/log but dont know which ones I can safely delete and would appreciate some help.
Thanks
-
You can delete all the files in /var/log/ But be careful to create new 'empty' files with the same filename and permissions. (like owner eg.)
I once did a rm -rf * in /var/log and it took me hours to get rid of all the error messages from processes who couldn't find their logfile....
-
Yea I managed to figure it out, Thanks