summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-07-20 21:58:29 +0000
committerStan Hu <stanhu@gmail.com>2017-07-20 21:58:29 +0000
commitbbf57237747ef15fe7a757d6e5b09c59bfb1c280 (patch)
tree06cf2cec80fc8155fef26869c63c3c61de5c1672 /config
parenta1cf5f0fd2cfac8a2e4ca238cb8cdde15c4c07bb (diff)
parent68529f4f80ea462c0f387112da76a95e02e13d96 (diff)
downloadgitlab-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.rb2
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