aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/gen_server.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/gen_server.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/gen_server.erl')
-rw-r--r--lib/stdlib/src/gen_server.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/gen_server.erl b/lib/stdlib/src/gen_server.erl
index 09f77c0810..342cc2a8e3 100644
--- a/lib/stdlib/src/gen_server.erl
+++ b/lib/stdlib/src/gen_server.erl
@@ -645,7 +645,7 @@ try_dispatch(Mod, Func, Msg, State) ->
#{label=>{gen_server,no_handle_info},
module=>Mod,
message=>Msg},
- #{domain=>[beam,erlang,otp],
+ #{domain=>[otp],
report_cb=>fun gen_server:format_log/1,
error_logger=>#{tag=>warning_msg}}),
{ok, {noreply, State}};
@@ -891,7 +891,7 @@ error_info(Reason, Name, From, Msg, Mod, State, Debug) ->
state=>format_status(terminate, Mod, get(), State),
reason=>Reason,
client_info=>client_stacktrace(From)},
- #{domain=>[beam,erlang,otp],
+ #{domain=>[otp],
report_cb=>fun gen_server:format_log/1,
error_logger=>#{tag=>error}}),
sys:print_log(Debug),