aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/logger_backend.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kernel/src/logger_backend.erl')
-rw-r--r--lib/kernel/src/logger_backend.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/src/logger_backend.erl b/lib/kernel/src/logger_backend.erl
index b3cf7d67dd..a73b681e0d 100644
--- a/lib/kernel/src/logger_backend.erl
+++ b/lib/kernel/src/logger_backend.erl
@@ -28,9 +28,9 @@
%%%-----------------------------------------------------------------
%%% The default logger backend
log_allowed(Log, Tid) ->
- {ok,Config} = logger_config:get(Tid,logger),
+ {ok,Config} = logger_config:get(Tid,primary),
Filters = maps:get(filters,Config,[]),
- case apply_filters(logger,Log,Filters,Config) of
+ case apply_filters(primary,Log,Filters,Config) of
stop ->
ok;
Log1 ->