Phoenix v1.3.0-rc.3 Phoenix.Logger View Source
Instrumenter to handle logging of various instrumentation events.
Parameter filtering
When logging parameters, Phoenix can filter out sensitive parameters
such as passwords and tokens. Parameters to be filtered can be
added via the :filter_parameters
option:
config :phoenix, :filter_parameters, ["password", "secret"]
With the configuration above, Phoenix will filter any parameter
that contains the terms password
or secret
. The match is
case sensitive.
Phoenix’s default is ["password"]
.