[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Switching log files
- Subject: [ale] Switching log files
- From: bradley at stygianresearch.com (Bradley Leonard)
- Date: Sat, 9 Sep 2000 00:20:23 -0400
Have you tried using logrotate with the postrotate action enabled?
ie:
/var/log/messages {
rotate 5
weekly
postrotate
/sbin/killall -HUP syslogd
endscript
}
Brad
> Hi, all,
>
> Does anyone know of a utility for making syslogd cleanly
> switch to a new set of log files without losing any
> messages?
>
> TIA,
>
> -- Joe
>
> *** Joseph Knapka ***
> In any formula, constants (especially those obtained from handbooks)
> are to be treated as variables.
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message
body.
>
>
--
Bradley Leonard (bradley at stygianresearch.com)
Stygian Research (http://stygianresearch.com)
Life is simple. We make it complicated.
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.