Zev Blut <[email protected]> wrote: > Hello, > > On 10/10/2010 05:23 PM, Jimmy Soho wrote: > >> When I look in the unicorn.stdout.log and/or unicorn.stderr.log files >> some lines are timestamped, some aren't. How could I get all lines >> timestamped? > > +1 > I too would really like to see some sort of time stamp for the log files.
They're enabled, but Rails does something funky after it's loaded: >From the FAQ, http://unicorn.bogomips.org/FAQ.html | === Why are log messages from Unicorn are unformatted when using Rails? | | Current versions of Rails unfortunately overrides the default Logger | formatter. | | You can undo this behavior with the default logger in your Unicorn | config file: | | Configurator::DEFAULTS[:logger].formatter = Logger::Formatter.new | | Of course you can specify an entirely different logger as well | with the "logger" directive described by Unicorn::Configurator. (sorry for the delayed reply, on vacation). -- 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
