Skip to content

Commit 3a3bcd3

Browse files
committed
mqtt: Log a bit more debug
1 parent 058b81a commit 3a3bcd3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

msgflo/msgflo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ def run(self):
267267
self._message_pump_greenlet = gevent.spawn(self._message_pump_greenthread)
268268

269269
def _send(self, outport, data):
270+
logger.debug('Participant sent on %s' % outport)
270271
ports = self.participant.definition['outports']
271272
serialized = json.dumps(data)
272273
port = [p for p in ports if outport == p['id']][0]
@@ -334,6 +335,7 @@ def notify():
334335
msg.json = e
335336
msg.data = msg.buffer
336337

338+
logger.debug('Delivering message to %s' % port)
337339
self.participant.process(port, msg)
338340

339341
gevent.spawn(notify)

0 commit comments

Comments
 (0)