Phoenix.Logger

Phoenix.Logger

Instrumenter to handle logging of various instrumentation events.

Parameter filtering

When logging parameters, Phoenix can filter out sensitive parameters in the logs, such as passwords, tokens and what not. 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"].

Summary

Functions

phoenix_channel_join(arg1, compile, arg3)
phoenix_controller_call(arg1, arg2, arg3)

Functions

phoenix_channel_join(arg1, compile, arg3)

phoenix_controller_call(arg1, arg2, arg3)

© 2014 Chris McCord
Licensed under the MIT License.
https://hexdocs.pm/phoenix/Phoenix.Logger.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部