From 987f7ff76aa3940f7e5d60a48694711513ebe8b1 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Tue, 27 Oct 2020 09:43:27 +0000 Subject: [PATCH] Make it clearer that `log_dest topic` doesn't include debug. --- man/mosquitto.conf.5.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/man/mosquitto.conf.5.xml b/man/mosquitto.conf.5.xml index 89276600..db934e56 100644 --- a/man/mosquitto.conf.5.xml +++ b/man/mosquitto.conf.5.xml @@ -474,14 +474,16 @@ D.conf named output. uses the userspace syslog facility which usually ends up in /var/log/messages or - similar and topic logs to the broker topic + similar. + logs to the broker topic '$SYS/broker/log/<severity>', where severity is - one of D, E, W, N, I, M which are debug, error, + one of E, W, N, I, M which are error, warning, notice, information and message. Message type severity is used by the subscribe and unsubscribe log_type options and publishes log messages at $SYS/broker/log/M/subscribe and - $SYS/broker/log/M/unsubscribe. + $SYS/broker/log/M/unsubscribe. Debug messages are never + logged on topics. The destination requires an additional parameter which is the file to be logged to, e.g. "log_dest file /var/log/mosquitto.log". The file