Przeglądaj źródła

Merge pull request #2123 from janchochol/fix_logger_level

Fix reloading logger_level
pull/2130/head
Fred Hebert 6 lat temu
committed by GitHub
rodzic
commit
361e8e47d5
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/rebar_utils.erl

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

@ -493,7 +493,7 @@ reread_logger_config() ->
_ ->
%% Extract and apply settings related to primary configuration
%% -- primary config is used for settings shared across handlers
LogLvlPrimary = proplists:get_value(logger_info, KernelCfg, all),
LogLvlPrimary = proplists:get_value(logger_level, KernelCfg, all),
{FilterDefault, Filters} =
case lists:keyfind(filters, 1, KernelCfg) of
false -> {log, []};

Ładowanie…
Anuluj
Zapisz