diff options
author | Siri Hansen <[email protected]> | 2018-06-08 14:21:47 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-06-08 14:39:38 +0200 |
commit | ba4b23c2d1cd07d754518201a5686f09cb1332d2 (patch) | |
tree | c99bc16907c61315453a30effd5f04d483a9c2cc /lib/common_test/src | |
parent | c8c1c67d331b5d1ec8cd3cdad5d8231063d7c5d8 (diff) | |
download | otp-ba4b23c2d1cd07d754518201a5686f09cb1332d2.tar.gz otp-ba4b23c2d1cd07d754518201a5686f09cb1332d2.tar.bz2 otp-ba4b23c2d1cd07d754518201a5686f09cb1332d2.zip |
[logger] Change base OTP domain from [beam,erlang,otp] to [otp]
Diffstat (limited to 'lib/common_test/src')
-rw-r--r-- | lib/common_test/src/cth_log_redirect.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common_test/src/cth_log_redirect.erl b/lib/common_test/src/cth_log_redirect.erl index 68742ab0ee..99c484de48 100644 --- a/lib/common_test/src/cth_log_redirect.erl +++ b/lib/common_test/src/cth_log_redirect.erl @@ -136,7 +136,7 @@ start_log_handler() -> init([]) -> {ok, #eh_state{log_func = tc_log_async}}. -log(#{msg:={report,Msg},meta:=#{domain:=[beam,erlang,otp,sasl]}}=Log,Config) -> +log(#{msg:={report,Msg},meta:=#{domain:=[otp,sasl]}}=Log,Config) -> case whereis(sasl_sup) of undefined -> ok; % sasl application is not started @@ -162,7 +162,7 @@ log(#{msg:={report,Msg},meta:=#{domain:=[beam,erlang,otp,sasl]}}=Log,Config) -> do_log(add_log_category(Log,sasl),Config) end end; -log(#{meta:=#{domain:=[beam,erlang,otp]}}=Log,Config) -> +log(#{meta:=#{domain:=[otp]}}=Log,Config) -> do_log(add_log_category(Log,error_logger),Config); log(#{meta:=#{domain:=_}},_) -> ok; |