Commit b5aac468 authored by Sean McGivern's avatar Sean McGivern

Merge branch 'sh-fix-lograge-exception' into 'master'

Fix lograge exclusion in params section

See merge request !13146
parents fa4d08ed 3a200165
...@@ -14,7 +14,7 @@ unless Sidekiq.server? ...@@ -14,7 +14,7 @@ unless Sidekiq.server?
config.lograge.custom_options = lambda do |event| config.lograge.custom_options = lambda do |event|
{ {
time: event.time.utc.iso8601(3), 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
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