Extend payload also for grape logging

pull/9798/head
Oliver Günther 3 years ago
parent 3c420d0e0d
commit 15a7e5e9bb
  1. 3
      config/initializers/grape_logging.rb

@ -8,7 +8,8 @@ OpenProject::Application.configure do
view: time[:view]
}.merge(payload.except(:time))
Rails.logger.info OpenProject::Logging.formatter.call(attributes)
extended = OpenProject::Logging.extend_payload!(attributes, {})
Rails.logger.info OpenProject::Logging.formatter.call(extended)
end
end
end

Loading…
Cancel
Save