timber-ruby
timber-ruby copied to clipboard
Add option to hide logging request parameters
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.