aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/gen_server.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-05-09 17:22:43 +0200
committerLukas Larsson <[email protected]>2018-05-21 17:43:53 +0200
commitbfe8a57bb9356415e6438f0deb410b03a7c602d1 (patch)
tree2d3ace36d9a0d5858f8c861ff5499e4dc1685431 /lib/stdlib/src/gen_server.erl
parent92d93f85e88235f3fa757d300628d382d09c6226 (diff)
downloadotp-bfe8a57bb9356415e6438f0deb410b03a7c602d1.tar.gz
otp-bfe8a57bb9356415e6438f0deb410b03a7c602d1.tar.bz2
otp-bfe8a57bb9356415e6438f0deb410b03a7c602d1.zip
Remove logger env vars for format_depth, max_size and utc
These are replaced by new config handling and must not be used any more.
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 035dd871ff..09f77c0810 100644
--- a/lib/stdlib/src/gen_server.erl
+++ b/lib/stdlib/src/gen_server.erl
@@ -934,14 +934,14 @@ format_log(#{label:={gen_server,terminate},
end
end;
_ ->
- logger:limit_term(Reason)
+ error_logger:limit_term(Reason)
end,
{ClientFmt,ClientArgs} = format_client_log(Client),
{"** Generic server ~tp terminating \n"
"** Last message in was ~tp~n"
"** When Server state == ~tp~n"
"** Reason for termination == ~n** ~tp~n" ++ ClientFmt,
- [Name, Msg, logger:limit_term(State), Reason1] ++ ClientArgs};
+ [Name, Msg, error_logger:limit_term(State), Reason1] ++ ClientArgs};
format_log(#{label:={gen_server,no_handle_info},
module:=Mod,
message:=Msg}) ->