lib/getaround_utils/railties/lograge.rb in getaround_utils-0.2.19 vs lib/getaround_utils/railties/lograge.rb in getaround_utils-0.2.20
- old
+ new
@@ -51,8 +51,8 @@
config.lograge.enabled = true
config.lograge.custom_options = ->(event) {
event.payload[:lograge]
}
config.lograge.before_format = ->(data, _) {
- data.except(*HTTP_PARAMS).merge(http: data.slice(*HTTP_PARAMS))
+ data.except(*HTTP_PARAMS).deep_merge(http: data.slice(*HTTP_PARAMS))
}
end