Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Dean on May 23, 2002, 01:55:23 PM

Title: Log Files getting 2 big 4 comfort
Post by: Dean on May 23, 2002, 01:55:23 PM
The log files on my system, seem to have grown to a little on the large side 250+MB, do they auto delete over a certain size, do they archive and never delete?
do they delete on a reboot?
anyone know?
can i just delete them and they will auto-recreate?
anyone know all there locations (just to save hunting)
Title: Re: Log Files getting 2 big 4 comfort
Post by: Jean-Philippe on May 23, 2002, 02:33:30 PM
Are your logs "rotating" well ?
Did you try typing " /usr/sbin/logrotate /etc/logrotate.conf " in a console ?
Title: Re: Log Files getting 2 big 4 comfort
Post by: dean on May 23, 2002, 07:15:03 PM
hMM must be doing something wrong that don't do nufin
Title: Re: Log Files getting 2 big 4 comfort
Post by: tim on May 23, 2002, 11:07:27 PM
Something is wrong, but if you want, for the meantime, have a look in /var/log.
" ll -h " will give you readable file size.
" echo "" > ' largefile ' " will empty the file contents to zero.(think thats right)
Copy or backup the log file first if necessary.

Hope this helps

tim