[Mongrel] logging to stdout

Michael D'Auria michael.dauria at gmail.com
Sun Jan 21 14:57:17 EST 2007


Chcek out the setting under config/environments/production.rb:

# config.logger = SyslogLogger.new

That should be able to take care of it for ya.

.: MIchael :.

On 1/21/07, Michael P. Soulier <msoulier at digitaltorque.ca> wrote:
>
> Hey,
>
> I'm using mongrel supervised via runit. I'd like to capture mongrel logs
> with
> svlogd, which just requires logging to stdout/stderr. But, the Rails app
> is
> logging in its own log directory.
>
> Is there a way to make both mongrel and Rails log to stdout/stderr?
>
> Thanks,
> Mike
> --
> 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
>
>
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20070121/a5afff01/attachment-0001.html 


More information about the Mongrel-users mailing list