[zeromq-dev] zyre logging

Pieter Hintjens ph at imatix.com
Fri Mar 28 07:50:54 CET 2014

The logging API is defined in zyre_log.h; it does not go through Zyre
at all but uses a direct PUB/SUB flow (otherwise we could not use it
to log Zyre events). You need to find the logger peer from the
X-ZRELOG header, then connect to it and send it messages, using

This isn't properly documented, sorry. If you have a second maybe you
can add that to the zyre_log.c header so it'll go in the man page. I'm
in a workshop all day today.

On Thu, Mar 27, 2014 at 3:29 PM, Scott Gibbons
<sgibbons at clicksecurity.com> wrote:
> Is there an example anywhere on how logging can be done from a zyre node?
> What I mean is if I do a zyre_new(), zyre_start(), then wait for a peer node
> with "X-ZRELOG" header to arrive, how do I send log messages to the logger
> peer?
> Thanks,
> --Scott
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

More information about the zeromq-dev mailing list