Thursday, December 11, 2008

include file support implemented

I've implemented basic include file/directory functionality in syslog-ng, using the format numbered second in my previous post.

I've now pushed an expermental implementation of include files in the syslog-ng OSE 3.0 repository, in a separate branch called 'include'.

E.g. in order to test the code, please clone the syslog-ng 3.0 repository:

$ git clone git://git.balabit.hu/bazsi/syslog-ng-3.0.git

Then check out the 'include' branch:

$ git checkout --track -b include origin/include

Then compile as usual. I didn't want to integrate it right into syslog-ng OSE 3.0 tree as I'd like to release that first as 3.0.1.

2 comments:

Anonymous said...

Hello there!

I'm amazed about syslog-ng features.

I'm wondering if there is any option to implement tcp stream compression using zlib to save the bandwidth...

Bazsi said...

The 3.0 branch features TLS (SSL) support which also compresses the stream prior to encryption. You only need to set up TLS and you get compression for free.

It might be possible to add a syslog-ng specific extension to the syslog protocol in order to provide compression, but for now it is not yet supported.