Disable lager

This PR removes lager handlers and the `crash.log`, in case of some dependencies or plugins of emqx use lager.
This commit is contained in:
terry-xiaoyu 2019-01-08 17:04:13 +08:00 committed by Feng Lee
parent 36a4eaec02
commit de65e21270
1 changed files with 11 additions and 0 deletions

View File

@ -424,6 +424,17 @@ end}.
hidden
]}.
%% disable lager
{mapping, "lager.handlers", "lager.handlers", [
{default, []},
hidden
]}.
{mapping, "lager.crash_log", "lager.crash_log", [
{default, off},
{datatype, flag},
hidden
]}.
{translation, "emqx.primary_log_level", fun(Conf) ->
cuttlefish:conf_get("log.level", Conf)
end}.