Koozali.org: home of the SME Server

Log Files getting 2 big 4 comfort

Dean

Log Files getting 2 big 4 comfort
« 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)

Jean-Philippe

Re: Log Files getting 2 big 4 comfort
« Reply #1 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 ?

dean

Re: Log Files getting 2 big 4 comfort
« Reply #2 on: May 23, 2002, 07:15:03 PM »
hMM must be doing something wrong that don't do nufin

tim

Re: Log Files getting 2 big 4 comfort
« Reply #3 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