You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When config.action_controller.action_on_unpermitted_parameters = :log is set, Rails 4 can emit an "unpermitted_parameters.action_controller" event, which is normally handled by the default LogSubscriber, but lograge uses its own subscriber so the unpermitted parameters never got logged. Would it make sense for lograge to handle that event and add it to the log line automatically if it's set? By default the action_on_unpermitted_parameters config is unset so it would never show up in the log, but if you've explicitly set that config, it would.
The text was updated successfully, but these errors were encountered:
When
config.action_controller.action_on_unpermitted_parameters = :log
is set, Rails 4 can emit an "unpermitted_parameters.action_controller" event, which is normally handled by the default LogSubscriber, but lograge uses its own subscriber so the unpermitted parameters never got logged. Would it make sense for lograge to handle that event and add it to the log line automatically if it's set? By default theaction_on_unpermitted_parameters
config is unset so it would never show up in the log, but if you've explicitly set that config, it would.The text was updated successfully, but these errors were encountered: