Commit 68529f4f authored by Stan Hu's avatar Stan Hu

Standardize on ISO8601 UTC time for lograge

parent 9d036373
...@@ -13,7 +13,7 @@ unless Sidekiq.server? ...@@ -13,7 +13,7 @@ unless Sidekiq.server?
# Add request parameters to log output # Add request parameters to log output
config.lograge.custom_options = lambda do |event| config.lograge.custom_options = lambda do |event|
{ {
time: event.time, time: event.time.utc.iso8601(3),
params: event.payload[:params].except(%w(controller action format)) params: event.payload[:params].except(%w(controller action format))
} }
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment