aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/logger_sup.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2019-01-21 14:46:33 +0100
committerSiri Hansen <[email protected]>2019-01-21 14:46:33 +0100
commit9c8075413728e3be373d7dff2a7168b3983e0be3 (patch)
tree35a3ed275f2ea6f333f5be903e39ddbe6c5a9700 /lib/kernel/src/logger_sup.erl
parent88cc8d25abe9e6fb7708a6ea673aa0637a28860a (diff)
parenta8364425a7190b65cd33e58ac3c155a77c462b74 (diff)
downloadotp-9c8075413728e3be373d7dff2a7168b3983e0be3.tar.gz
otp-9c8075413728e3be373d7dff2a7168b3983e0be3.tar.bz2
otp-9c8075413728e3be373d7dff2a7168b3983e0be3.zip
Merge branch 'maint'
Diffstat (limited to 'lib/kernel/src/logger_sup.erl')
-rw-r--r--lib/kernel/src/logger_sup.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/kernel/src/logger_sup.erl b/lib/kernel/src/logger_sup.erl
index 3d6f482e20..9ea8558a16 100644
--- a/lib/kernel/src/logger_sup.erl
+++ b/lib/kernel/src/logger_sup.erl
@@ -50,7 +50,9 @@ init([]) ->
start => {logger_handler_watcher, start_link, []},
shutdown => brutal_kill},
- {ok, {SupFlags, [Watcher]}}.
+ Proxy = logger_proxy:child_spec(),
+
+ {ok, {SupFlags, [Watcher,Proxy]}}.
%%%===================================================================
%%% Internal functions