MQTT fixing some loggging issues