Hi Andrej,
I think you misunderstood. 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.
Joe.
So this line (in 1.6.9.):
> > destination d_root {
usertty("root" template("$MSGONLY\n")); };
is equal to this line
(2.0.8.):
> g_snprintf(buf, sizeof(buf), "%s %s %s\n",
timestamp->str, msg->host.str, msg->msg.str);
?
If not,
which line can replace the 1.6.9. version one, mentioned in this
mail?
Thank you in advance!
Andrej
Discover the new Windows Vista Learn more!