[ale] Switching log files

Bradley Leonard bradley at stygianresearch.com
Sat Sep 9 00:20:23 EDT 2000



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.





More information about the Ale mailing list