[syslog-ng]Syntax error in default config?

Balazs Scheidler syslog-ng@lists.balabit.hu
Fri, 06 May 2005 11:53:12 +0200


On Thu, 2005-05-05 at 21:19 +0200, J. Meub wrote:
> Balazs Scheidler schrieb:
> > 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.
> 
> 
> On my system this gives:
> 
> gateway:/etc # syslog-ng
> syntax error at 4
> 
> So again the problem with naming a destination "user".

try compiling syslog-ng with YYDEBUG in CPPFLAGS and run syslog-ng with
--yydebug option and send the output.


-- 
Bazsi