hi ya make sure cron is running....it 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 sysklogd....than move it aside... but you must also kill things like the web server too that logs stuff into /var/log/httpd/ and more stuff to retart simple silly way...that will always work... - mv /var/log /var/log.old ; mkdir /var/log - reboot - and it should all be cleaned up by itself - if you want to preserve uptime...."init 1" instead of reboot move the files around...than "init 3" or whatever level you want c ya alvin On Mon, 4 Sep 2000, USM Bish wrote: > 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 way wherein I keep the log for the > last seven days only, with some process at boot-up or cron ? > > USM Bish > > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null >