aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2018-06-11 14:46:26 +0200
committerLukas Larsson <[email protected]>2018-06-11 14:46:26 +0200
commite1d7d2d501bd1d28a3c0962d9230147503e3a1c8 (patch)
tree84621f5e7aed1d393b1158f4e696a6db9f94a1c1 /lib/kernel
parentc2d0170c32402a7ddb6657be72f5bf5786fa298b (diff)
parentbc50c1e4e0d7deaae19804964760d4ffa1e13cbb (diff)
downloadotp-e1d7d2d501bd1d28a3c0962d9230147503e3a1c8.tar.gz
otp-e1d7d2d501bd1d28a3c0962d9230147503e3a1c8.tar.bz2
otp-e1d7d2d501bd1d28a3c0962d9230147503e3a1c8.zip
Merge branch 'lukas/kernel/logger-config/OTP-13295'
* lukas/kernel/logger-config/OTP-13295: erts: Fix emulator log messages to use erlang:system_time kernel: Add LOGGER_SERVER_TAG to logger_server
Diffstat (limited to 'lib/kernel')
-rw-r--r--lib/kernel/src/logger_server.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/kernel/src/logger_server.erl b/lib/kernel/src/logger_server.erl
index 47010c9fa5..024b9dfa39 100644
--- a/lib/kernel/src/logger_server.erl
+++ b/lib/kernel/src/logger_server.erl
@@ -125,6 +125,7 @@ update_formatter_config(_HandlerId, FormatterConfig) ->
init([]) ->
process_flag(trap_exit, true),
+ put(?LOGGER_SERVER_TAG,true),
Tid = logger_config:new(?LOGGER_TABLE),
LoggerConfig = maps:merge(default_config(logger),
#{handlers=>[simple]}),