Przeglądaj źródła

update_loglevel_config now takes a sink argument

pull/264/head
John R. Daily 10 lat temu
rodzic
commit
ba5548e057
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/lager_handler_watcher.erl

+ 1
- 1
src/lager_handler_watcher.erl Wyświetl plik

@ -92,7 +92,7 @@ install_handler(Sink, Module, Config) ->
case gen_event:add_sup_handler(Sink, Module, Config) of
ok ->
?INT_LOG(debug, "Lager installed handler ~p into ~p", [Module, Sink]),
lager:update_loglevel_config(),
lager:update_loglevel_config(Sink),
ok;
{error, {fatal, Reason}} ->
?INT_LOG(error, "Lager fatally failed to install handler ~p into"

Ładowanie…
Anuluj
Zapisz