[zeromq-dev] zyre logging

Scott Gibbons sgibbons at clicksecurity.com
Fri Mar 28 13:14:11 CET 2014


Thanks, but zyre_log.h isn't installed in /usr/local/include.  I've
commented on https://github.com/zeromq/zyre/issues/147.  Was it intended to
be installed?

Thanks,
--Scott


On Fri, Mar 28, 2014 at 1:50 AM, Pieter Hintjens <ph at imatix.com> wrote:

> 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
> <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
> >
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140328/fcc4eef3/attachment.htm>


More information about the zeromq-dev mailing list