From a99eb33e4636f4a08a34a602df117e2d09004c3b Mon Sep 17 00:00:00 2001 From: Miri Date: Tue, 26 Mar 2024 10:51:14 +0200 Subject: [PATCH 1/2] Improve info/links about logging levels Interlink to Log Levels -section in all instances where the available logging levels are discussed. Previously the links pointed to [example rabbitmq.conf](https://github.com/rabbitmq/rabbitmq-server/blob/v3.13.x/deps/rabbit/docs/rabbitmq.conf.example) which doesn't provide a list of all available logging levels. --- docs/logging.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/logging.md b/docs/logging.md index 1bb177ac4f..2f1d6dbeba 100644 --- a/docs/logging.md +++ b/docs/logging.md @@ -107,7 +107,7 @@ The following example instructs RabbitMQ to log to a file at the `debug` level: log.file.level = debug ``` -Supported log levels ca be found in the [example rabbitmq.conf file](https://github.com/rabbitmq/rabbitmq-server/blob/v3.13.x/deps/rabbit/docs/rabbitmq.conf.example). +> Supported log levels are discussed in the [Log Levels -section](#log-levels) found below. Logging to a file can be deactivated with @@ -217,7 +217,7 @@ The following example instructs RabbitMQ to use the `debug` logging level when l log.console.level = debug ``` -Supported log levels ca be found in the [example rabbitmq.conf file](https://github.com/rabbitmq/rabbitmq-server/blob/v3.13.x/deps/rabbit/docs/rabbitmq.conf.example). +> Supported log levels are discussed in the [Log Levels -section](#log-levels) found below. Logging to console in JSON format: From 0461e06441026673a0fa190ed13bc6c3d9b6640a Mon Sep 17 00:00:00 2001 From: Miri Date: Tue, 26 Mar 2024 11:01:48 +0200 Subject: [PATCH 2/2] Add a link to example config Previously the example config file was mentioned related to logging levels but these links were removed in commit a99eb33. To keep the useful link to the example config a new paragraph was added in the summary of _Configuration_ section. --- docs/logging.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/logging.md b/docs/logging.md index 2f1d6dbeba..3696097dc9 100644 --- a/docs/logging.md +++ b/docs/logging.md @@ -77,6 +77,8 @@ if the environment variable is set, the configuration key `log.file` will not ha RabbitMQ starts logging early on node start. See the [Configuration guide](./configure) for a general overview of how to configure RabbitMQ. +The full list of available configuration options can be found in the [example rabbitmq.conf -file](https://github.com/rabbitmq/rabbitmq-server/blob/v3.13.x/deps/rabbit/docs/rabbitmq.conf.example). + ### Logging to a File {#logging-to-a-file} Logging to a file is one of the most common options for RabbitMQ installations. In modern releases,