25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-28 16:34:13 +01:00

Merge pull request #253 from weiss/fix-config-comments

Apply small fixes to description of log rotation in ejabberd.yml.example
This commit is contained in:
Evgeny Khramtsov 2014-07-20 12:42:20 +04:00
commit 48d7ec1a92

View File

@ -44,7 +44,7 @@ loglevel: 4
## does not disable rotation, it instead rotates the file and keeps no previous ## 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. ## 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 "" ## 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: ## Some examples:
## $D0 rotate every night at midnight ## $D0 rotate every night at midnight
## $D23 rotate every day at 23:00 hr ## $D23 rotate every day at 23:00 hr
@ -59,7 +59,7 @@ log_rotate_count: 1
## ##
## overload protection: If you want to limit the number of messages per second ## 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. ## of messages when system is overloaded, you can set a limit.
## 100 is ejabberd's default. ## 100 is ejabberd's default.
log_rate_limit: 100 log_rate_limit: 100