librelist archives

« back to archive

Log file rotation ?

Log file rotation ?

From:
Dave Dodd
Date:
2011-07-01 @ 05:06
I am about to deploy our first mongrel2 server into a FreeBSD production
environment and I have hit a minor problem.

I tried using the m2sh reload command however this does not include a 
close and reopen of the server's log files.

Short of actually stopping the server and restarting it, what is considered
the correct approach to rotating log files ?

Would there be any interest from others in getting a rotate command added into
m2sh ?

-- 
David Dodd
Corinthian Engineering Pty Limited
Suite 54, Jones Bay Wharf
26-32 Pirrama Road
Pyrmont NSW 2009 Australia
Telephone +612 9552 5500 Fax +612 9552 5549