https://github.com/jrochkind/formatted_rails_logger
FormattedRailsLoggerMonkey-patches Rails BufferedLogger (the standard Rails logger) to accept a formatter just like ruby Logger does. Provides a formatter that includes timestamp and severity in logs, while taking account of Rails habit of making space in the logfile by adding newlines to the beginning of log message.
No comments:
Post a Comment