On Sun, Feb 06, 2011 at 09:07:40PM +0100, Balazs Scheidler wrote:
Hi,
Since this is a self-contained module, I'm willing to include it in 3.2 (and certainly in 3.3), but I'd like the value-pairs() to be finalized that Algernon is working on. The only reason is that I wouldn't want to handle possible incompatible changes if the interface will change with value-pairs.
Fair enough. Let me know when value-pairs looks good and I can try backporting and testing. I found an interim solution that allows my Perl code to process 6k+ MPS at present which is good enough to get started going where I need to be. The JSON support will help me get past that in the future by offering a way to avoid using regexes to process input. I wonder if there could also be a way to support binary formats like XDR or Google Protocol Buffers or some other kind of RPC format. I'd like to be able to interface syslog-ng with higher level languages for coding complex logic without adding risk of bugs in my code breaking the core daemon if I start hacking out C modules. Matt.