[zeromq-dev] logging messages sent
andrea crotti
andrea.crotti.0 at gmail.com
Mon Oct 1 12:09:51 CEST 2012
We are not sending around so much data, and for debugging and
understanding purposes I would like to be able to automatically log to
disk all the messages that would be sent around.
Ideally writing :
sock.send('some message')
I should get a log entry
"DEBUG: sent on channel tcp:/... message ..."
Is there a way to get this behaviour easily?
I thought that I can just wrap ZMQ instead and import from that when I
want the debug, but I don't want to wrap all the possible types and
send/receive functions if possible..
Any idea?
More information about the zeromq-dev
mailing list