chore(config): delete lager config

the only lib used lager was amqp client which is now updated
with lager droped from its dependencies
This commit is contained in:
Zaiming Shi 2021-07-28 11:32:54 +02:00 committed by turtleDeng
parent 90b20aae2b
commit cecc3bb899
1 changed files with 1 additions and 7 deletions

View File

@ -74,7 +74,7 @@
%% will be used by emqx_ct_helper to find the dependent apps %% will be used by emqx_ct_helper to find the dependent apps
-export([includes/0]). -export([includes/0]).
structs() -> ["cluster", "node", "rpc", "log", "lager", structs() -> ["cluster", "node", "rpc", "log",
"zones", "listeners", "broker", "zones", "listeners", "broker",
"plugins", "sysmon", "alarm"] "plugins", "sysmon", "alarm"]
++ ?MODULE:includes(). ++ ?MODULE:includes().
@ -236,12 +236,6 @@ fields("log_burst_limit") ->
, {"window_time", t(duration(), undefined, "1s")} , {"window_time", t(duration(), undefined, "1s")}
]; ];
%% disable lager in case some app deps on it
fields("lager") ->
[ {"handlers", t(string(), "lager.handlers", "")}
, {"crash_log", t(boolean(), "lager.crash_log", false)}
];
fields("stats") -> fields("stats") ->
[ {"enable", t(boolean(), undefined, true)} [ {"enable", t(boolean(), undefined, true)}
]; ];