diff options
author | Stan Hu <stanhu@gmail.com> | 2017-07-20 21:58:29 +0000 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-07-20 21:58:29 +0000 |
commit | bbf57237747ef15fe7a757d6e5b09c59bfb1c280 (patch) | |
tree | 06cf2cec80fc8155fef26869c63c3c61de5c1672 /config | |
parent | a1cf5f0fd2cfac8a2e4ca238cb8cdde15c4c07bb (diff) | |
parent | 68529f4f80ea462c0f387112da76a95e02e13d96 (diff) | |
download | gitlab-ce-bbf57237747ef15fe7a757d6e5b09c59bfb1c280.tar.gz |
Merge branch 'sh-lograge-iso6801-time' into 'master'
Standardize on ISO8601 UTC time for lograge
See merge request !12995
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/lograge.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/lograge.rb b/config/initializers/lograge.rb index 14902316240..c9a515dfcd5 100644 --- a/config/initializers/lograge.rb +++ b/config/initializers/lograge.rb @@ -13,7 +13,7 @@ unless Sidekiq.server? # Add request parameters to log output 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)) } end |