[Lognorm] [rsyslog] liblognorm
Rainer Gerhards
rgerhards at hq.adiscon.com
Thu Nov 7 17:35:39 CET 2013
Pavel,
On Wed, Oct 30, 2013 at 8:51 PM, Pavel Levshin <pavel at levshin.spb.ru> wrote:
>
> So, I have taken the opportunity and refactored liblognorm to use json-c
> instead of libee. Some parts of libee now present in liblognorm, notably
> field parsers and encoders. They were rewritten to get rid of libee data
> structures. In the same time, many bugs were fixed, and many were
> undoubtedly produced.
>
>
I still didn't get a chance to merge, but you probably could lend me a
helping hand on a related topic. As you know, I am rewriting the rsyslog
core engine. The new engine has the capability to execute action instances
in parallel, one for each worker thread (wti).
I am about to update mmnormalize to the new calling interface. The question
is if lioblognorm can be called concurrently (reentrant & thread safe) with
*the same* handle. That would obviously be best. It's not (yet) documented
to have this capability. However, if I remember correctly, there is no
problem in that regard. As you have recently worked on probably the whole
body of code, what's your opinion on that? If we are not sure enough, we
can always check later, but I think if the first shot at the new
mmnormalize implemtion should better be on the safe side or not.
Thanks,
Rainer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.adiscon.net/pipermail/lognorm/attachments/20131107/73baed3d/attachment.html>
More information about the Lognorm
mailing list