summaryrefslogtreecommitdiff
path: root/ejabberd.yml.example
diff options
context:
space:
mode:
authorEvgeny Khramtsov <ekhramtsov@process-one.net>2019-10-18 19:12:32 +0300
committerEvgeny Khramtsov <ekhramtsov@process-one.net>2019-10-18 19:12:32 +0300
commite4a8afb15d6c995b294a60ed150b86775e2f6805 (patch)
treef1a739fe3737fce2cf0ea79740c9ebee92290287 /ejabberd.yml.example
parentFlatten 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 'ejabberd.yml.example')
-rw-r--r--ejabberd.yml.example6
1 files changed, 1 insertions, 5 deletions
diff --git a/ejabberd.yml.example b/ejabberd.yml.example
index ffeb7d73..57f7fef1 100644
--- a/ejabberd.yml.example
+++ b/ejabberd.yml.example
@@ -17,11 +17,7 @@
hosts:
- localhost
-loglevel: 4
-log_rotate_size: 10485760
-log_rotate_date: ""
-log_rotate_count: 1
-log_rate_limit: 100
+loglevel: info
## If you already have certificates, list them here
# certfiles: