[email protected] wrote: > I use these options in my config/unicorn.rb: > stderr_path "/data/myapp/shared/log/unicorn.stderr.log" > stdout_path "/data/myapp/shared/log/unicorn.stdout.log" > > So maybe that's what Alex is referring to as well. I do see > un-timestamped output in both files (some from my OobGC-fork > middleware). The logger configuration you mentioned is intended to be > used with those?
Yes. You should be able to access the same Logger instance via env["rack.logger"] in your app/middleware (IIRC env["rack.logger"] is required for Rack 1.2). -- 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
