Ver código fonte

Merge pull request #2123 from janchochol/fix_logger_level

Fix reloading logger_level
pull/2130/head
Fred Hebert 5 anos atrás
committed by GitHub
pai
commit
361e8e47d5
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      src/rebar_utils.erl

+ 1
- 1
src/rebar_utils.erl Ver arquivo

@ -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, []};

Carregando…
Cancelar
Salvar