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/stdlib/src/supervisor.erl | |
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/stdlib/src/supervisor.erl')
-rw-r--r-- | lib/stdlib/src/supervisor.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/stdlib/src/supervisor.erl b/lib/stdlib/src/supervisor.erl index eb46ac611a..9b6c2a5f0b 100644 --- a/lib/stdlib/src/supervisor.erl +++ b/lib/stdlib/src/supervisor.erl @@ -43,7 +43,7 @@ {errorContext,Error}, {reason,Reason}, {offender,extract_child(Child)}]}, - #{domain=>[beam,erlang,otp,sasl], + #{domain=>[otp,sasl], report_cb=>fun logger:format_otp_report/1, logger_formatter=>#{title=>"SUPERVISOR REPORT"}, error_logger=>#{tag=>error_report, @@ -580,7 +580,7 @@ handle_info({'EXIT', Pid, Reason}, State) -> handle_info(Msg, State) -> ?LOG_ERROR("Supervisor received unexpected message: ~tp~n",[Msg], - #{domain=>[beam,erlang,otp], + #{domain=>[otp], error_logger=>#{tag=>error}}), {noreply, State}. @@ -1419,7 +1419,7 @@ report_progress(Child, SupName) -> ?LOG_INFO(#{label=>{supervisor,progress}, report=>[{supervisor,SupName}, {started,extract_child(Child)}]}, - #{domain=>[beam,erlang,otp,sasl], + #{domain=>[otp,sasl], report_cb=>fun logger:format_otp_report/1, logger_formatter=>#{title=>"PROGRESS REPORT"}, error_logger=>#{tag=>info_report,type=>progress}}). |