[syslog-ng]Syntax error in default config?

Balazs Scheidler syslog-ng@lists.balabit.hu
Thu, 05 May 2005 20:58:58 +0200


On Thu, 2005-05-05 at 18:01 +0200, J. Meub wrote:
> Hello,
> 
> i'm new to syslog-ng and recently compiled and
> installed it (version 1.9.4) on my system (LFS, Kernel 2.6.11.7).
> The problem i have is that even with the default
> configuiration file it claims to have syntax errors.
> The lines causing the errors are:
> destination user { file("/var/log/user.log"); };
> and
> filter f_auth { facility(auth); };

I've tried this configuration file:

source s_udp { unix-stream("log" log_iw_size(5)); udp(port(2000)); internal(); };

destination d_file { file("/home/bazsi/zwa/install/syslog-ng-2.0/messages" template("/var/log/messages/$HOST/$FACILITY.log\n") log_fifo_size(10)); };
destination user { file("user.log"); };

filter f_auth { facility(auth); };

log { source(s_udp); destination(d_file); destination(user); flags(flow-control); };


It was parsed fine.

-- 
Bazsi