fixing mosquitto config, fix logging