about summary refs log tree commit diff stats
path: root/config/initializers/filter_parameter_logging.rb
blob: c2d89e28a28813fe267cb7b84d2877964a6a6e35 (plain) (blame)
1
2
3
4
5
6
7
8
# Be sure to restart your server when you modify this file.

# Configure parameters to be partially matched (e.g. passw matches password) and filtered from the log file.
# Use this to limit dissemination of sensitive information.
# See the ActiveSupport::ParameterFilter documentation for supported notations and behaviors.
Rails.application.config.filter_parameters += [
  :passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
]