diff options
author | Evgeny Khramtsov <ekhramtsov@process-one.net> | 2019-10-18 19:12:32 +0300 |
---|---|---|
committer | Evgeny Khramtsov <ekhramtsov@process-one.net> | 2019-10-18 19:12:32 +0300 |
commit | e4a8afb15d6c995b294a60ed150b86775e2f6805 (patch) | |
tree | f1a739fe3737fce2cf0ea79740c9ebee92290287 /src/ejabberd_ctl.erl | |
parent | Flatten strings in ejabberd_xmlrpc error results (diff) |
Replace lager with built-in new logging API
This change requires Erlang/OTP-21.0 or higher.
The commit also deprecates the following options:
- log_rotate_date
- log_rate_limit
Furthermore, these options have no effect. The logger now fully
relies on log_rotate_size, that cannot be 0 anymore.
The loglevel option now accepts levels in literal formats.
Those are: none, emergency, alert, critical, error, warning, notice, info, debug.
Old integer values (0-5) are still supported and automatically converted
into literal format.
Diffstat (limited to 'src/ejabberd_ctl.erl')
-rw-r--r-- | src/ejabberd_ctl.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ejabberd_ctl.erl b/src/ejabberd_ctl.erl index 731b704e..76a02838 100644 --- a/src/ejabberd_ctl.erl +++ b/src/ejabberd_ctl.erl @@ -68,6 +68,7 @@ %%----------------------------- start() -> + logger:set_primary_config(level, none), [SNode, Timeout, Args] = case init:get_plain_arguments() of [SNode2, "--no-timeout" | Args2] -> [SNode2, infinity, Args2]; |