diff --git a/homeassistant/components/mqtt/__init__.py b/homeassistant/components/mqtt/__init__.py index 73aee984ae3..702e8a139f4 100644 --- a/homeassistant/components/mqtt/__init__.py +++ b/homeassistant/components/mqtt/__init__.py @@ -666,6 +666,9 @@ class MQTT: else: self._mqttc = mqtt.Client(client_id, protocol=proto) + # Enable logging + self._mqttc.enable_logger() + username = self.conf.get(CONF_USERNAME) password = self.conf.get(CONF_PASSWORD) if username is not None: