Update description for filter_parameter_logging (#49347)

* Update description for filter_parameter_logging

* Update railties/lib/rails/generators/rails/app/templates/config/initializers/filter_parameter_logging.rb.tt

Thanks Rob!!. I did all this in the github ui and was a little out of sorts with the wrapping.

Co-authored-by: Rob Zolkos <rob@zolkos.com>

---------

Co-authored-by: Rob Zolkos <rob@zolkos.com>
Co-authored-by: Rafael Mendonça França <rafael@rubyonrails.org>
This commit is contained in:
Jess Brown 2023-09-25 23:21:03 -04:00 committed by GitHub
parent 92742751a9
commit c32813ddc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,8 +1,8 @@
# Be sure to restart your server when you modify this file.
# Configure parameters to be filtered from the log file. Use this to limit dissemination of
# sensitive information. See the ActiveSupport::ParameterFilter documentation for supported
# notations and behaviors.
# 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
]