Log to log/# topic only when MQTT protocol version is < 5
When MQTT protocol version is >= 5, just log to the */log topic (the level is a property). This means you can't subscribe only to specific log levels when using MQTT v5 so I may re-think this, but I don't want to keep publishing every single log message twice.
Loading
Please register or sign in to comment