[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Best way to rotate log files?
> Does anyone know if there is a recommended method of log file
> rotation? I want to save off my smtp and smtpserver logfiles and I
> wasn't sure if just renaming the files while zmailer was still running
> would be fine.
With smtpserver, and all transporter logs you can safely do
rename (they open the log file for each session). With the
router you need to restart processes. With the scheduler you
can send SIGHUP to the server to reopen the logs files.
> Thanks in advance.
> Dario Alcocer
/Matti Aarnio <firstname.lastname@example.org>