diff options
author | Jan Chochol <jan.chochol@gooddata.com> | 2019-07-16 08:51:04 +0200 |
---|---|---|
committer | Jan Chochol <jan.chochol@gooddata.com> | 2019-07-16 08:51:04 +0200 |
commit | 5e225f1fa11fcdfa695356ea60a61e34b0fdfd55 (patch) | |
tree | ccb28da134f6636bc218c8ecf5c282defe67a51b /src | |
parent | 76935555f3587d160e7ed87ff61f744f822f8d37 (diff) |
Fix reloading logger_level
OTP kernel application use "logger_level" configuration for configuring
level in primary configuration.
rebar3 uses "logger_info" for this purpose - ths is little bit confusing
and probably mistake.
This commit will unify behavior between kernel and rebar3o
Fixes: 0303567d95f0 ("Reload logger config in shell")
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_utils.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl index 066c673..5c7da92 100644 --- a/src/rebar_utils.erl +++ b/src/rebar_utils.erl @@ -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, []}; |