<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Tahoma
}
</STYLE>
<META content="MSHTML 6.00.2900.3314" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV dir=ltr align=left><SPAN class=040244010-10062008><FONT face=Arial
color=#0000ff>Hi Andrej,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=040244010-10062008><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=040244010-10062008><FONT face=Arial
color=#0000ff>I think you misunderstood. <FONT size=2>Bazsi said that templates
do not work with usertty in 2.0.8. You will have to remove the template from
your definition. The piece of C code he included was just to show you what
will be sent to usertty when you have no template.</FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=040244010-10062008><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=040244010-10062008><FONT face=Arial
color=#0000ff>Joe.</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma><B>From:</B> syslog-ng-bounces@lists.balabit.hu
[mailto:syslog-ng-bounces@lists.balabit.hu] <B>On Behalf Of </B>Andrej
Lobovski<BR><B>Sent:</B> 10 June 2008 11:37<BR><B>To:</B> Syslog-ng users' and
developers' mailing list<BR><B>Subject:</B> Re: [syslog-ng] unusual syntax error
while parsing .conf file<BR></FONT><BR></DIV>
<DIV></DIV>So this line (in 1.6.9.):<BR><BR>> > destination d_root {
usertty("root" template("$MSGONLY\n")); };<BR><BR>is equal to this line
(2.0.8.):<BR> <BR>> g_snprintf(buf, sizeof(buf), "%s %s %s\n",
timestamp->str, msg->host.str, msg->msg.str);<BR><BR>?<BR><BR>If not,
which line can replace the 1.6.9. version one, mentioned in this
mail?<BR><BR><BR>Thank you in advance!<BR><BR>Andrej<BR><BR>
<HR>
Discover the new Windows Vista <A
href="http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE"
target=_new>Learn more!</A> </BODY></HTML>