[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Trimming down of /var/log/messages



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




Reply to: