Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Add option to hide logging request parameters #149

Open
binarylogic opened this issue Aug 31, 2017 · 0 comments
Open

Add option to hide logging request parameters #149

binarylogic opened this issue Aug 31, 2017 · 0 comments

Comments

@binarylogic
Copy link
Contributor

This is captured as metadata, so we do not need to log it in the message as well. Example:

Processing by Spree::OrdersController#populate as HTML
Aug 30 08:25:33pm app[web.1] info: [07c87ad9-37bd-4a31-9e12-5516f84eee1f] Parameters: {"utf8"=>"✓", "authenticity_token"=>"s7rO1lbTSbSOWSTJ2JqDERe8MbrRFSHxWKkffh436A04sgZD0uJkfWX66Bi18iZ1ocMS2IytqCBr1eF/WakeUA==", "variant_id"=>"5", "quantity"=>"1", "button"=>""}

My only concern is breaking convention with Rails defaults. This should be a setting.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant