From 277fe5ab258d771fd081b7e2124a20cbb9810e4e Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Sun, 20 Jul 2014 07:29:45 +0200 Subject: [PATCH 1/2] Fix ejabberd.yml comment on log rotation syntax --- ejabberd.yml.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ejabberd.yml.example b/ejabberd.yml.example index 8f16d1a4e..89d35899b 100644 --- a/ejabberd.yml.example +++ b/ejabberd.yml.example @@ -44,7 +44,7 @@ loglevel: 4 ## does not disable rotation, it instead rotates the file and keeps no previous ## versions around. Setting size to X rotate log when it reaches X bytes. ## To disable rotation set the size to 0 and the date to "" -## Size syntax is taken from the syntax newsyslog uses in newsyslog.conf. +## Date syntax is taken from the syntax newsyslog uses in newsyslog.conf. ## Some examples: ## $D0 rotate every night at midnight ## $D23 rotate every day at 23:00 hr From 105b421418b3929727faed63bb20e682842d833a Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Sun, 20 Jul 2014 07:36:24 +0200 Subject: [PATCH 2/2] Fix ejabberd.yml comment on overload protection --- ejabberd.yml.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ejabberd.yml.example b/ejabberd.yml.example index 89d35899b..627011d2e 100644 --- a/ejabberd.yml.example +++ b/ejabberd.yml.example @@ -59,7 +59,7 @@ log_rotate_count: 1 ## ## overload protection: If you want to limit the number of messages per second -## allowed from error_logger, which is a good idea if you want to weather a flood +## allowed from error_logger, which is a good idea if you want to avoid a flood ## of messages when system is overloaded, you can set a limit. ## 100 is ejabberd's default. log_rate_limit: 100