Skip to content

Commit f3f65e4

Browse files
committed
No longer rebroadcast messages as this is taken care by Erlang's logger
Closes #9765.
1 parent 5331174 commit f3f65e4

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lib/logger/lib/logger/config.ex

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,6 @@ defmodule Logger.Config do
3232
Application.fetch_env!(:logger, :discard_threshold_periodic_check)}
3333
end
3434

35-
def handle_event({_type, gl, _msg} = event, state) when node(gl) != node() do
36-
# Cross node messages are always async which also
37-
# means this handler won't crash in case Logger
38-
# is not installed in the other node.
39-
:gen_event.notify({Logger, node(gl)}, event)
40-
{:ok, update_counter(state, false)}
41-
end
42-
4335
def handle_event(_event, state) do
4436
{:ok, update_counter(state, false)}
4537
end

0 commit comments

Comments
 (0)