Optimize log configuration

This commit is contained in:
turtled 2019-05-05 14:25:44 +08:00 committed by Shawn
parent 6dd09ef681
commit ea83d2087c
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ start(_Type, _Args) ->
%% kernel config `logger_level` before starting the erlang vm. %% kernel config `logger_level` before starting the erlang vm.
%% This is because the latter approach an annoying debug msg will be printed out: %% This is because the latter approach an annoying debug msg will be printed out:
%% "[debug] got_unexpected_message {'EXIT',<0.1198.0>,normal}" %% "[debug] got_unexpected_message {'EXIT',<0.1198.0>,normal}"
logger:set_primary_config(level, application:get_env(emqx, primary_log_level, error)), logger:set_primary_config(level, application:get_env(kernel, primary_log_level, error)),
print_banner(), print_banner(),
ekka:start(), ekka:start(),