Skip to content

Commit 0525ab0

Browse files
rabbitmq.conf.example: mention log.file.rotation.* keys
1 parent 0397035 commit 0525ab0

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
@@ -1013,6 +1013,35 @@
10131013
# log.exchange.level = info
10141014

10151015

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

10171046
## ----------------------------------------------------------------------------
10181047
## RabbitMQ LDAP Plugin

0 commit comments

Comments
 (0)