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 zyre_log.
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 <[email protected]> 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 > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
