MQTT: Remove logging of e.g. password
@@ -192,16 +192,16 @@ class Subscribe(base_calvinsys_object.BaseCalvinsysObject):
if will:
# set will
- _log.info("Setting will: {}: {}".format(will.get("topic"), will.get("payload")))
+ # _log.info("Setting will: {}: {}".format(will.get("topic"), will.get("payload")))
self.client.will_set(topic=will.get("topic"), payload=will.get("payload"))
if auth:
# set auth
- _log.info("setting auth: {}/{}".format(auth.get("username"), auth.get("password")))
+ # _log.info("setting auth: {}/{}".format(auth.get("username"), auth.get("password")))
self.client.username_pw_set(username=auth.get("username"), password=auth.get("password"))
if tls:
- _log.info("setting tls: {} / {} / {}".format(tls.get("ca_certs"), tls.get("certfile"), tls.get("keyfile")))
+ #_log.info("setting tls: {} / {} / {}".format(tls.get("ca_certs"), tls.get("certfile"), tls.get("keyfile")))
self.client.tls_set(ca_certs=tls.get("ca_certs"), certfile=tls.get("certfile"), keyfile=tls.get("keyfile"))
