I found this yesterday as an option for adding timestamps to the rails log files. Is this the best way to accomplish adding date and time stamps to the log files?
http://programmingishard.com/code/463
require 'logger' class Logger alias format_message old_format_message
def format_message(severity, timestamp, progname, msg) "#{timestamp.to_s(:log_format)} [#{severity}] - #{msg}\n" end end