We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c399269 commit 6d4ecc1Copy full SHA for 6d4ecc1
config/initializers/filter_parameter_logging.rb
@@ -1,4 +1,8 @@
1
# Be sure to restart your server when you modify this file.
2
3
-# Configure sensitive parameters which will be filtered from the log file.
4
-Rails.application.config.filter_parameters += [:password]
+# Configure parameters to be filtered from the log file. Use this to limit dissemination of
+# sensitive information. See the ActiveSupport::ParameterFilter documentation for supported
5
+# notations and behaviors.
6
+Rails.application.config.filter_parameters += [
7
+ :password, :passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
8
+]
0 commit comments