[Mongrel] Log rotation

Michael P. Soulier msoulier at digitaltorque.ca
Wed Oct 11 18:50:02 EDT 2006

On 11/10/06 Dee Zsombor said:

> The same code you execute upon deploy to bounce your application servers
> can be used to a similar effect, with no more user noticeable downtime (or
> risk) as simple deployment. Just have to configure  logrotate with a
> custom post rotate hook.

I supervise mongrel_rails via runit. From there, if Rails would log to stdout
I could use svlogd which would handle timestamps and rotation on its own.

I'm on BSD so for now I've configured newsyslog to rotate the rails logs.

Michael P. Soulier <msoulier at digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/mongrel-users/attachments/20061011/65cc5fbc/attachment.bin 

More information about the Mongrel-users mailing list