aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/supervisor_bridge.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-06-08 14:21:47 +0200
committerSiri Hansen <[email protected]>2018-06-08 14:39:38 +0200
commitba4b23c2d1cd07d754518201a5686f09cb1332d2 (patch)
treec99bc16907c61315453a30effd5f04d483a9c2cc /lib/stdlib/src/supervisor_bridge.erl
parentc8c1c67d331b5d1ec8cd3cdad5d8231063d7c5d8 (diff)
downloadotp-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_bridge.erl')
-rw-r--r--lib/stdlib/src/supervisor_bridge.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/supervisor_bridge.erl b/lib/stdlib/src/supervisor_bridge.erl
index 39372935fa..2db0a895d6 100644
--- a/lib/stdlib/src/supervisor_bridge.erl
+++ b/lib/stdlib/src/supervisor_bridge.erl
@@ -135,7 +135,7 @@ report_progress(Pid, Mod, StartArgs, SupName) ->
report=>[{supervisor, SupName},
{started, [{pid, Pid},
{mfa, {Mod, init, [StartArgs]}}]}]},
- #{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}}).
@@ -146,7 +146,7 @@ report_error(Error, Reason, #state{name = Name, pid = Pid, mod = Mod}) ->
{errorContext, Error},
{reason, Reason},
{offender, [{pid, Pid}, {mod, Mod}]}]},
- #{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,type=>supervisor_report}}).