[zeromq-dev] zyre logging

Pieter Hintjens ph at imatix.com
Fri Mar 28 14:26:54 CET 2014


Fixed that, it was an error in the Makefile.

On Fri, Mar 28, 2014 at 1:14 PM, Scott Gibbons
<sgibbons at clicksecurity.com> wrote:
> 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
>
>
>
> _______________________________________________
> 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