Skip to content

Commit 33481ef

Browse files
committed
MQTT: Don't print on connected, debug log instead
1 parent c0948bf commit 33481ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

msgflo/msgflo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def _message_pump_greenthread(self):
271271
return
272272

273273
def _on_connect(self, client, userdata, flags, rc):
274-
print("Connected with result code" + str(rc))
274+
logging.debug("Connected with result code" + str(rc))
275275

276276
# Subscribe to queues for inports
277277
subscriptions = [] # ("topic", QoS)

0 commit comments

Comments
 (0)