2012/10/1 andrea crotti <[email protected]>: > 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?
An obvious solution is of course to do a log for every send/recv, adding it manually, if there are no easy ways to wrap adding this feature it might be the way to go.. _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
