[syslog-ng]parse error on Template (

KELLY,THOMAS (HP-Boise,ex1) syslog-ng@lists.balabit.hu
Tue, 4 Nov 2003 10:39:02 -0800


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3A302.EAAAAA82
Content-Type: text/plain

Hello,

I am using syslog-ng-1.6.0rc4 on RH 9.  I just migrated to using mysql for
syslog-ng.  

After I added in the support for mysql in my syslog-ng.conf, when I try
starting syslog-ng is gives me a parse error on the line that specifies the
template:	
		template("INSERT INTO logs (host, facility, priority, level,
tag, date,


Does anyone know how to resolve this error?

Thanks,

Tom Kelly


------_=_NextPart_001_01C3A302.EAAAAA82
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2657.73">
<TITLE>parse error on Template (</TITLE>
</HEAD>
<BODY>

<P ALIGN=3DLEFT><FONT SIZE=3D2 FACE=3D"Verdana">Hello,</FONT></P>

<P ALIGN=3DLEFT><FONT SIZE=3D2 FACE=3D"Verdana">I am using =
syslog-ng-1.6.0rc4 on RH 9.&nbsp; I just migrated to using mysql for =
syslog-ng.&nbsp;</FONT> </P>

<P ALIGN=3DLEFT><FONT SIZE=3D2 FACE=3D"Verdana">After I added in the =
support for mysql in my syslog-ng.conf,</FONT> <FONT SIZE=3D2 =
FACE=3D"Verdana">when I try starting syslog-ng is gives me a parse =
error on the line that specifies</FONT> <FONT SIZE=3D2 =
FACE=3D"Verdana">the template</FONT><FONT SIZE=3D2 =
FACE=3D"Verdana">:&nbsp;&nbsp; </FONT></P>
<UL><UL>
<P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 =
FACE=3D"Verdana">template(&quot;INSERT INTO logs (host, facility, =
priority, level, tag, date,</FONT></P>
<BR>
</UL></UL>
<P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Verdana">Does =
anyone know how to resolve this error?</FONT></P>

<P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 =
FACE=3D"Verdana">Thanks,</FONT></P>

<P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Verdana">Tom =
Kelly</FONT></P>

</BODY>
</HTML>
------_=_NextPart_001_01C3A302.EAAAAA82--