[syslog-ng] setting facility/level of source log messages ?

Balazs Scheidler bazsi at balabit.hu
Wed Mar 4 10:19:55 CET 2009


Hi,

Thanks for your contribution, it is really appreciated. However as I
said the 3.0 branch already has a less general solution to the same
problem. Could you update your patch against 3.0, making the file
specific options LogReader specific?

Also, since your patch is not in the 'trivial' category, I'd like to ask
you to sign a copy of the 'Contributory License Agreement' and send it
via e-mail (to me) or fax (to +3612080875). This allows me to include
this patch into the commercial version of syslog-ng, needed to keep the
two in sync. (I'm porting patches between OSE and PE). You can find this
agreement here:

https://www.balabit.com/dl/CLA_patch.pdf

Thanks.

On Tue, 2009-03-03 at 16:02 +0100, Xavier Lapie wrote:
> On Mon, Mar 02, 2009 at 03:25:53PM +0100, Balazs Scheidler wrote:
> > In 3.0 OSE there are options to set these for file sources, but no options to set 
> > them for no-parse sources. I'll take care about this when I get there, but please file
> > a bugzilla ticket.
> > 
> > Alternatively you could submit your patches, that could potentially solve this 
> > problem faster.
> 
> Hi,
> 
> The patch is attached to this mail, and adds two new options for source files
> in the syslog-ng configuration file:
> 
> fake_facility(facility) and fake_level(level)
> These options don't have any effect when used without the no-parse flag.
> 
> Ex:
> source s_file {
>     file("/tmp/f1" fake_facility(local7) fake_level(debug) flags(no-parse));
>     file("/tmp/f2" fake_facility(local4) fake_level(warn) flags(no-parse));
> };
> 
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html
> 
-- 
Bazsi




More information about the syslog-ng mailing list