mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Include millis in the timestamp, #1789
This commit is contained in:
parent
bba6bdd51d
commit
e6e95c6168
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ module Sidekiq
|
|||
class Pretty < Logger::Formatter
|
||||
# Provide a call() method that returns the formatted message.
|
||||
def call(severity, time, program_name, message)
|
||||
"#{time.utc.iso8601} #{::Process.pid} TID-#{Thread.current.object_id.to_s(36)}#{context} #{severity}: #{message}\n"
|
||||
"#{time.utc.iso8601(3)} #{::Process.pid} TID-#{Thread.current.object_id.to_s(36)}#{context} #{severity}: #{message}\n"
|
||||
end
|
||||
|
||||
def context
|
||||
|
|
Loading…
Reference in a new issue