X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7fc2dbecd572718421d000441ccb305241e7d5ff..fbf23107219bc0c0a24e9ce403bdeecb40690346:/config/initializers/buffered_logger.rb?ds=inline diff --git a/config/initializers/buffered_logger.rb b/config/initializers/buffered_logger.rb index 03d88f69c..b75e74ec6 100644 --- a/config/initializers/buffered_logger.rb +++ b/config/initializers/buffered_logger.rb @@ -7,7 +7,7 @@ module ActiveSupport return if @level > severity message = (message || (block && block.call) || progname).to_s time = Time.now - message = "[%s.%06d #%d] %s\n" % [time.strftime("%Y-%m-%d %H:%M:%S"), time.usec, $$, message.sub(/^\n+/, "")] + message = "[%s.%06d #%d] %s" % [time.strftime("%Y-%m-%d %H:%M:%S"), time.usec, $$, message.sub(/^\n+/, "")] old_add(severity, message) end end