[zeromq-dev] ZMQ & JZMQ Logging

Min miniway at gmail.com
Tue Feb 12 03:17:23 CET 2013


Basically logging is not supported in jzmq.

If you use the latest ZMQ, you can utilize zmq_monitor.


At the callbak, you could leave your log4j log.


2013년 2월 12일 화요일에 Sabri Skhiri님이 작성:

> Dear All,
> I use ZMQ 2.X with the JZMQ binding. I am trying to debug a typical “java:
> Socket.cpp:561: void* get_socket(JNIEnv*, jobject, int): Assertion `s'
> failed.” I am probably sending a message on a closed socket, but it is
> difficult to correlate my application logs and the assert error. I  would
> like to activate the ZMQ traces or something similar.
> Is there any way to activate the logs either from JZMQ using a log4j like
> configuration or directly from ZMQ using the same kind of mechanism?
> I just found this http://www.zeromq.org/topics:monitoring-support but it
> seems to be only a proposition not really an implementation.
>  Thank you!
>  Sabri.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130212/73410f48/attachment.html>

More information about the zeromq-dev mailing list