aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/logger_h_common.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kernel/src/logger_h_common.erl')
-rw-r--r--lib/kernel/src/logger_h_common.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/kernel/src/logger_h_common.erl b/lib/kernel/src/logger_h_common.erl
index 6f55c5997d..51fe8f3157 100644
--- a/lib/kernel/src/logger_h_common.erl
+++ b/lib/kernel/src/logger_h_common.erl
@@ -223,6 +223,8 @@ start(OlpOpts0, #{id := Name, module:=Module, config:=HConfig} = Config0) ->
init(#{id := Name, module := Module, config := HConfig}) ->
process_flag(trap_exit, true),
+ ?init_test_hooks(),
+
case Module:init(Name, HConfig) of
{ok,HState} ->
%% Storing common config in state to avoid copying