/var/log/syslog
My /var/log/syslog is huge (nearly 400 MB), is there some way to limit the size of this thing ? 400 MB for a stupid log file seems a little bit much. Or should I just delete it and recreate it every month or so to keep the size down ?
|
Ummm ... for all I know slack defaults to
using logrotate, which should keep the logs to a more weildy size ... and you can then just remove older versions ... Is logrotate installed on your box? Code:
grep -l logrotate /var/log/packages/* Cheers, Tink P.S.: For now it should be reasonably safe to echo /dev/null > /var/log/syslog (if you're sure there was no intrusion attempt :}) |
logrotate is installed, I'll probably just have to setup a cron job.
|
Why not just remove the logs? there not needed they just old stuff that has been loged already so what good are they to you?
|
Well all the config files where good, but crontab -l told me
that logrotate job gets done at 4:40 every day (it's in my /etc/cron.daily directory). I'm assuming this is in the middle of the night, seeing that my computer is turned off at that hour, it's no surprise my syslog managed to grow to 400 MB. |
All times are GMT -5. The time now is 03:07 PM. |