[Gluster-devel] doubts in using gf_event/gf_msg
Pranith Kumar Karampuri
pkarampu at redhat.com
Wed Aug 24 12:10:45 UTC 2016
On Wed, Aug 24, 2016 at 5:38 PM, Aravinda <avishwan at redhat.com> wrote:
> It is possible to overload gf_lg/gf_msg to send events to local eventsd.
> But we have to do additional parsing if we need to select the logs to
> convert as events. If we introduce new API, then it is not different from
> existing wrt adding events code in multiple places. But if it helps in
> sharing the host/port and other information(which we are discussing to
> support client events), I can give it a try(Move gf_event inside logging
> infra)
>
Sounds good to me. I will wait for others inputs here as well
>
> regards
> Aravinda
>
> On Wednesday 24 August 2016 05:15 PM, Pranith Kumar Karampuri wrote:
>
> Just resending in case you missed this mail.
>
> On Tue, Aug 23, 2016 at 2:31 AM, Pranith Kumar Karampuri <
> pkarampu at redhat.com> wrote:
>
>> hi Aravinda,
>> I was wondering what is your opinion in sending selected logs as
>> events instead of treating them specially. Is this something you guys
>> considered? Do you think it is a bad idea to do it that way? We can even
>> come up with a new api which logs and then sends it as event.
>>
>> --
>> Pranith
>>
>
>
>
> --
> Pranith
>
>
>
--
Pranith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20160824/e1142076/attachment.html>
More information about the Gluster-devel
mailing list