[Mongrel] consolidated log file?

Jason A. Hoffman jason at joyent.com
Tue Feb 5 17:10:21 EST 2008


On Feb 5, 2008, at 2:06 PM, John Joseph Bachir wrote:

> Hey folks.
>
> Using mongrel_rails, Is it possible to have multiple mongrel instances
> write to the same log file? I suppose that implementing this might
> incur a performance hit since each mongrel would need to lock and
> unlock the file in order to not weave the log messages together in an
> unreadable stream? Or perhaps all the log messages are single-line
> anyway.
>
> Thanks,
> john
>

Hi John,

You'll want to use something like SyslogLogger.

Regards, Jason


More information about the Mongrel-users mailing list