Serg Podtynnyi <[email protected]> wrote:
> Hi All, as I can see on
> https://github.com/defunkt/unicorn/blob/master/lib/unicorn.rb#L53
> the Rack::CommonLogger used only in development env and in weird evn
> called "deployment".
> Any chance to add  "production" to this case?

Not unless Rack does it, Rack doesn't recognize "production" in any
special way.

If you really want it, you can add Rack::CommonLogger to config.ru
yourself.

Since I was never satisfied with the Rack::CommonLogger logging format,
I wrote clogger[1] which offers nginx-like formatting options.



[1] http://clogger.rubyforge.org/ - configurable logger for Rack

-- 
Eric Wong
_______________________________________________
Unicorn mailing list - [email protected]
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

Reply via email to