I have been chasing down some duplicate client names on my MQTT devices, and frequently looking at the logfile: /var/log/mosquitto/mosquitto.log.
However, today I noticed that the log file is simply missing. No file. The only thing I've touched in the mosquitto.conf file is the log_type lines. Here's the latest:
pi@Marvin:/etc/mosquitto $ cat mosquitto.conf # Place your local configuration in /etc/mosquitto/conf.d/ # # A full description of the configuration file is at # /usr/share/doc/mosquitto/examples/mosquitto.conf.example pid_file /var/run/mosquitto.pid persistence true persistence_location /var/lib/mosquitto/ log_dest file /var/log/mosquitto/mosquitto.log # You can choose which event types to log. # By default error, information, notice and warning events are logged. # log_type error log_type warning log_type notice log_type informaton #For debugging, use: #log_type all include_dir /etc/mosquitto/conf.d
I've tried restarting the broker Pi (the same one with Node-Red) to no avail.
Does anyone have a clue where I might try to find why there is no log file?
Update, I just realized that mosquitto isn't running. pidof mosquitto returns nothing.
A hard shutdown and restart of the Pi did nothing.