On Mon, Jun 27, 2011 at 4:04 PM, giorgio <[email protected]> wrote: > Basically I just want to see the Date and time on each line of the log. > > Surely it must be easy? I'm surprised its not default behaviour...
I am too, but ... :-) For a 2.3.x app, I just overrode ActiveSupport::BufferedLogger#add to put the timestamp at the beginning of the line. Still seems vaguely hacky, but it works just fine. HTH, -- Hassan Schroeder ------------------------ [email protected] http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

