diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-07-28 07:22:18 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-07-28 07:22:18 +0000 |
commit | b5aac468693f6ffaada170aebedc623768ce87d4 (patch) | |
tree | 57b33e3a84111a1b087bfd654202245053226cca /config/initializers/lograge.rb | |
parent | fa4d08ed81b1ebbc4f242c498d02bc91d507a92a (diff) | |
parent | 3a200165c3ba43a6f037bcb59c97a13f33624db1 (diff) | |
download | gitlab-ce-b5aac468693f6ffaada170aebedc623768ce87d4.tar.gz |
Merge branch 'sh-fix-lograge-exception' into 'master'
Fix lograge exclusion in params section
See merge request !13146
Diffstat (limited to 'config/initializers/lograge.rb')
-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 c9a515dfcd5..039b4c87b0d 100644 --- a/config/initializers/lograge.rb +++ b/config/initializers/lograge.rb @@ -14,7 +14,7 @@ unless Sidekiq.server? config.lograge.custom_options = lambda do |event| { 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 |