Merge branch 'sh-lograge-iso6801-time' into 'master'
Standardize on ISO8601 UTC time for lograge See merge request !12995
This commit is contained in:
commit
bbf5723774
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue