diff options
author | Siri Hansen <[email protected]> | 2018-11-02 16:39:13 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2019-01-16 09:59:24 +0100 |
commit | 2e4dbedd90b61d72dc841c5bee99564d0ad2f531 (patch) | |
tree | 398d7623811a83004268f6cc86f74c910e16d7dc /lib/kernel/src/logger_sup.erl | |
parent | 2929e79806b0e8ffdd4be5c7eaed0cea04bce850 (diff) | |
download | otp-2e4dbedd90b61d72dc841c5bee99564d0ad2f531.tar.gz otp-2e4dbedd90b61d72dc841c5bee99564d0ad2f531.tar.bz2 otp-2e4dbedd90b61d72dc841c5bee99564d0ad2f531.zip |
[logger] Overload protect logging from erts and remote nodes
Diffstat (limited to 'lib/kernel/src/logger_sup.erl')
-rw-r--r-- | lib/kernel/src/logger_sup.erl | 4 |
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 |