Trimming down of /var/log/messages

2000-09-04 Thread USM Bish
With time, the size of /var/log/messages keeps on growing, till it really becomes really huge, with information no longer needed. Since syslogd is constantly monitoring and writing on to it, I have never attempted initialising a fresh /var/log/messages on a running machine. Is there a recommended

Re: Trimming down of /var/log/messages

2000-09-04 Thread Alvin Oga
hi ya make sure cron is runningit already rotates log files weekly/monthly... at least on the 1u raid5 debian box i poke around in if you want to manually rotate your logs kill syslogd or sysklogdthan move it aside... but you must also kill things like the web server too that logs

Re: Trimming down of /var/log/messages

2000-09-04 Thread Olaf Meeuwissen
USM Bish [EMAIL PROTECTED] writes: With time, the size of /var/log/messages keeps on growing, till it really becomes really huge, with information no longer needed. Since syslogd is constantly monitoring and writing on to it, I have never attempted initialising a fresh /var/log/messages on a

Re: Trimming down of /var/log/messages

2000-09-04 Thread USM Bish
On Sun, Sep 03, 2000 at 09:56:36PM -0700, Alvin Oga wrote: hi ya make sure cron is runningit already rotates log files weekly/monthly... at least on the 1u raid5 debian box i poke around in I need to do some reading on 'cron', and actually do some fine-tuning. I have 'cron' running

Re: Trimming down of /var/log/messages

2000-09-04 Thread USM Bish
On Mon, Sep 04, 2000 at 01:51:50PM +0900, Olaf Meeuwissen wrote: USM Bish [EMAIL PROTECTED] writes: Is there a recommended way wherein I keep the log for the last seven days only, with some process at boot-up or cron ? Seems like logrotate will fit your bill. Package: logrotate