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:
parent
36a4eaec02
commit
de65e21270
|
@ -424,6 +424,17 @@ end}.
|
||||||
hidden
|
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) ->
|
{translation, "emqx.primary_log_level", fun(Conf) ->
|
||||||
cuttlefish:conf_get("log.level", Conf)
|
cuttlefish:conf_get("log.level", Conf)
|
||||||
end}.
|
end}.
|
||||||
|
|
Loading…
Reference in New Issue