timestamps on log files

Hello people,
  I'm currently reading the innards of Arel and ActiveRecord and
thought of modifying the
  ActiveSupport::BufferedLogger to automatically prepend a timestamp
on each log entry.
  Would be very useful for a project I'm currently developing.

  I'm going to make it a configurable option in applications.rb, something like:

  config.logger.timestamps => true

  Is there any interest in having this in the rails core?
  If it is, I could easily submit a patch. I have contributed to
ActiveRecord in the past.[1]

  Let me know what you think.

Regards,
Sebastian.

1: http://github.com/rails/rails/commit/0176e6adb388998414083e99523de318d3b8ca49

thought of modifying the
ActiveSupport::BufferedLogger to automatically prepend a timestamp
on each log entry.

+1 -- I did that once myself for a project, but it was hard-wired.

I'm going to make it a configurable option in applications.rb ...

Configurable sounds good :slight_smile:

Is there any interest in having this in the rails core?

I'd like to see it added.