[syslog-ng] Syslog-ng.conf syntax

Balazs Scheidler bazsi at balabit.hu
Tue Oct 18 17:14:57 CEST 2005


On Tue, 2005-10-18 at 09:00 -0500, SOLIS, ALEX wrote:
> Does a log statement need to all be on one line?  I have a log statement
> with two sources, 4 filters and 2 destinations.  It all wont fit on  one
> line.  When I try to break it up into a block format logging stops for
> those destiniations.
> 
> I am sure I am missing something.  Here is the log statement:
> 
> 
> log { source(net); source(net_tcp);
> filter (f_not_nmrouter);
> filter (f_not_non_critical_windows);
> filter (f_not_non_crit_unix);
> filter (f_not_uiz_servers);
> destination(x); destination(y); };

syslog-ng does not really care about the indentation/whitespace used in
configuration files. you can break it to several lines at will.


-- 
Bazsi



More information about the syslog-ng mailing list