[syslog-ng]Syntax error in default config?
Balazs Scheidler
syslog-ng@lists.balabit.hu
Fri, 06 May 2005 12:38:43 +0200
On Fri, 2005-05-06 at 12:28 +0200, J. Meub wrote:
> Balazs Scheidler schrieb:
> >>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.
>
> Reading a token: Next token is token ';' ()
> Shifting token ';', Entering state 25
> Reading a token: Next token is token KW_DESTINATION ()
> Shifting token KW_DESTINATION, Entering state 2
> Reading a token: Next token is token KW_USER ()
^^^^^^^
That's strange, the KW_USER keyword corresponds to a string named
"usertty" and not "user":
bazsi@bzorp:~/zwa/work/syslog-ng-2.0/syslog-ng/src$ grep KW_USER cfg-lex.l
{ "usertty", KW_USER },
--
Bazsi