aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sasl/src
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-05-21 16:52:23 +0200
committerSiri Hansen <[email protected]>2018-05-23 11:11:56 +0200
commitca1bf7a9d915a973203aa046bb9f921c11681ee0 (patch)
treecbe623f606325472db857f3a1d6c8552009eeff9 /lib/sasl/src
parentd35c100a10239edc669b465a2176000ffcc1300f (diff)
downloadotp-ca1bf7a9d915a973203aa046bb9f921c11681ee0.tar.gz
otp-ca1bf7a9d915a973203aa046bb9f921c11681ee0.tar.bz2
otp-ca1bf7a9d915a973203aa046bb9f921c11681ee0.zip
Change handler id for sasl handler from sasl_h to sasl
Diffstat (limited to 'lib/sasl/src')
-rw-r--r--lib/sasl/src/sasl.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sasl/src/sasl.erl b/lib/sasl/src/sasl.erl
index 57e0c6ca82..92b80694d7 100644
--- a/lib/sasl/src/sasl.erl
+++ b/lib/sasl/src/sasl.erl
@@ -131,7 +131,7 @@ add_sasl_logger(std, undefined) -> ok;
add_sasl_logger(Dest, Level) ->
FC = #{legacy_header=>true,
single_line=>false},
- ok = logger:add_handler(sasl_h,logger_std_h,
+ ok = logger:add_handler(sasl,logger_std_h,
#{level=>Level,
filter_default=>stop,
filters=>
@@ -146,7 +146,7 @@ add_sasl_logger(Dest, Level) ->
delete_sasl_logger(undefined) -> ok;
delete_sasl_logger(std) -> ok;
delete_sasl_logger(_Type) ->
- _ = logger:remove_handler(sasl_h),
+ _ = logger:remove_handler(sasl),
ok.
add_error_logger_mf(undefined) -> ok;