filter_parameter_logging.rb (396B)
1 # Be sure to restart your server when you modify this file. 2 3 # Configure parameters to be filtered from the log file. Use this to limit dissemination of 4 # sensitive information. See the ActiveSupport::ParameterFilter documentation for supported 5 # notations and behaviors. 6 Rails.application.config.filter_parameters += [ 7 :passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn 8 ]