7

Is there any way to prevent PINGREQ and PINGRESP to be logged, keeping all other log_type(s) active?

I'm looking for a way to prevent only ping entries to be logged.

Here is my mosquitto.conf:

pid_file /var/run/mosquitto.pid

persistence true
persistence_location /var/lib/mosquitto/

log_dest syslog
log_type all

connection_messages true
log_timestamp true

include_dir /etc/mosquitto/conf.d
Aurora0001
  • 18,520
  • 13
  • 55
  • 169
Dario
  • 339
  • 1
  • 3
  • 6

1 Answers1

3

Remove the following from the config file:

log_type all
hardillb
  • 12,813
  • 1
  • 21
  • 34