diff options
| -rw-r--r-- | docs/rabbitmq.conf.example | 50 |
1 files changed, 23 insertions, 27 deletions
diff --git a/docs/rabbitmq.conf.example b/docs/rabbitmq.conf.example index e0023aef4c..bed32d3039 100644 --- a/docs/rabbitmq.conf.example +++ b/docs/rabbitmq.conf.example @@ -667,51 +667,47 @@ ## # amqp1_0.protocol_strict_mode = false -## Lager controls logging. -## See https://github.com/basho/lager for more documentation +## Logging settings. ## -## Log direcrory, taken from the RABBITMQ_LOG_BASE env variable by default. -## -# log.dir = /var/log/rabbitmq - -## Logging to the amq.rabbitmq.log exchange (can be true or false) -## -# log.exchange = false - -## Log level to use when logging to the amq.rabbitmq.log exchange -## -# log.exchange.level = info - -## Logging to console (can be true or false) +## See http://rabbitmq.com/logging.html and https://github.com/erlang-lager/lager for details. ## -# log.console = false -## Loglevel to log to console +## Log direcrory, taken from the RABBITMQ_LOG_BASE env variable by default. ## -# log.console.level = info +# log.dir = /var/log/rabbitmq -## Logging to file. Can be false or filename. +## Logging to file. Can be false or a filename. ## Default: # log.file = rabbit.log -## To turn off: +## To disable logging to a file # log.file = false -## Loglevel to log to file +## Log level for file logging ## # log.file.level = info ## File rotation config. No rotation by defualt. -## DO NOT SET rotation date to ''. Leave unset if require "" value +## DO NOT SET rotation date to ''. Leave the value unset if "" is the desired value # log.file.rotation.date = $D0 # log.file.rotation.size = 0 +## Logging to console (can be true or false) +## +# log.console = false + +## Log level for console logging +## +# log.console.level = info + +## Logging to the amq.rabbitmq.log exchange (can be true or false) +## +# log.exchange = false + +## Log level to use when logging to the amq.rabbitmq.log exchange +## +# log.exchange.level = info -## QA: Config for syslog logging -# log.syslog = false -# log.syslog.identity = rabbitmq -# log.syslog.level = info -# log.syslog.facility = daemon ## ---------------------------------------------------------------------------- |
