We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5331174 commit f3f65e4Copy full SHA for f3f65e4
lib/logger/lib/logger/config.ex
@@ -32,14 +32,6 @@ defmodule Logger.Config do
32
Application.fetch_env!(:logger, :discard_threshold_periodic_check)}
33
end
34
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
-
43
def handle_event(_event, state) do
44
{:ok, update_counter(state, false)}
45
0 commit comments