Skip to content

Commit 713e190

Browse files
rabbitmq.conf.example: mention log.file.rotation.* keys
(cherry picked from commit 0525ab0)
1 parent bf16ce0 commit 713e190

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

deps/rabbit/docs/rabbitmq.conf.example

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,6 +1017,35 @@
10171017
# log.exchange.level = info
10181018

10191019

1020+
## File size-based log rotation
1021+
1022+
## Note that `log.file.rotation.size` cannot be combined with `log.file.rotation.date`,
1023+
## the two options are mutually exclusive.
1024+
1025+
## rotate when the file reaches 10 MiB
1026+
# log.file.rotation.size = 10485760
1027+
1028+
## keep up to 5 archived log files in addition to the current one
1029+
# log.file.rotation.count = 5
1030+
1031+
## compress the archived logs
1032+
# log.file.rotation.compress = true
1033+
1034+
1035+
## Date-based log rotation
1036+
1037+
## Note that `log.file.rotation.date` cannot be combined with `log.file.rotation.size`,
1038+
## the two options are mutually exclusive.
1039+
1040+
## rotate every night at midnight
1041+
# log.file.rotation.date = $D0
1042+
1043+
## keep up to 5 archived log files in addition to the current one
1044+
# log.file.rotation.count = 5
1045+
1046+
## compress the archived logs
1047+
# log.file.rotation.compress = true
1048+
10201049

10211050
## ----------------------------------------------------------------------------
10221051
## RabbitMQ LDAP Plugin

0 commit comments

Comments
 (0)