I discussed here how to avoid ping messages in logs. By changing
mosquitto.conf I found that pings are reported under
DEBUG LEVEL. I would comment this log type in the conf to avoid pings in log, but sadly
PUBLISH entries are under the same log level and they are all relevant for me.
So, I wonder if it is there any way to avoid exclusively pings from being logged.
Here is my
# Place your local configuration in /etc/mosquitto/conf.d/
# A full description of the configuration file is at
#log_dest file /var/log/mosquitto/mosquitto.log