diff options
author | Péter Dimitrov <[email protected]> | 2018-06-15 16:39:15 +0200 |
---|---|---|
committer | Péter Dimitrov <[email protected]> | 2018-06-20 15:18:37 +0200 |
commit | e94c5fad7304aa7b5cd15646a1fd246aae460a3f (patch) | |
tree | 742e05aad84dfeeaced4b6fcbab5b2116a70c9f0 /lib/ssl/src/ssl_app.erl | |
parent | eae3952b4af6c3afff39dd0dd5e6b72291566b4a (diff) | |
download | otp-e94c5fad7304aa7b5cd15646a1fd246aae460a3f.tar.gz otp-e94c5fad7304aa7b5cd15646a1fd246aae460a3f.tar.bz2 otp-e94c5fad7304aa7b5cd15646a1fd246aae460a3f.zip |
ssl: Update domain filter, use log macros
Change-Id: Id52990a105c81373c7c6034df9a2675f9d0e429a
Diffstat (limited to 'lib/ssl/src/ssl_app.erl')
-rw-r--r-- | lib/ssl/src/ssl_app.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_app.erl b/lib/ssl/src/ssl_app.erl index d1bd113b0d..1beaa513b4 100644 --- a/lib/ssl/src/ssl_app.erl +++ b/lib/ssl/src/ssl_app.erl @@ -39,10 +39,10 @@ stop(_State) -> %% %% Description: Start SSL logger start_logger() -> - Config = #{level => info, + Config = #{level => debug, filter_default => stop, formatter => {logger_ssl_formatter, #{}}}, - Filter = {fun logger_filters:domain/2,{log,starts_with,[beam,erlang,otp,ssl]}}, + Filter = {fun logger_filters:domain/2,{log,sub,[otp,ssl]}}, logger:add_handler(ssl_handler, logger_std_h, Config), logger:add_handler_filter(ssl_handler, filter_non_ssl, Filter). |