[Mongrel] Process safe log files with multiple mongrels

Zed A. Shaw zedshaw at zedshaw.com
Tue May 22 18:47:23 EDT 2007

On Tue, 22 May 2007 16:33:46 -0500
Matthew Margolis <mrmargolis at wisc.edu> wrote:

> I have a rails application that runs on multiple mongrels and I would  
> like to make the log files non-interlacing.  Are there any logging  
> modifications/other loggers out there that I could use to create  
> process safe logging?

For your rails logs, you could probably use this:


Or similar.  For your mongrel logs, just use the options to start that
set the name of the file to the host-port of that mongrel.  Mongrel
cluster should already do this.

Zed A. Shaw
- Hate: http://savingtheinternetwithhate.com/
- Good: http://www.zedshaw.com/
- Evil: http://yearofevil.com/

More information about the Mongrel-users mailing list