Mqtt log options - not getting much info

I am messing around with MQTT and trying to get more information out of the log file. I am using the app log. Looking at the docs I added this but it seems to have no effect. Am I doing this wrong?

connection_messages: true
log_timestamp_format: ‘%Y-%m-%dT%H:%M:%S’
log_type: debug

all i get is
1626643211: Client shade-stepper-1 already connected, closing old connection.
1626643211: New client connected from 192.168.86.206 as shade-stepper-1 (p2, c1, k15, u’MQTT_USER’).
1626643211: New connection from 192.168.86.203 on port 1883.
1626643211: Client shade-stepper-1 already connected, closing old connection.
1626643211: New client connected from 192.168.86.203 as shade-stepper-1 (p2, c1, k15, u’MQTT_USER’).
1626643211: New connection from 192.168.86.206 on port 1883.
1626643231: Socket error on client , disconnecting.
1626643236: New connection from 192.168.86.206 on port 1883.
1626643257: Socket error on client , disconnecting.
1626643259: New connection from 172.30.32.2 on port 1883.

Add this under logger: in configuration.yaml and restart HA :

logger:
  default: error
  logs:
    homeassistant.components.mqtt: debug

Thanks,
I assume this would go to my mosquito log? Not seeing any changes. Added, and restarted

No, this info goes to your home-assistant.log

For mosquitto logging, see

1 Like