[syslog-ng][bug] Output templates.

Sergey Y. Afonin asy@kraft-s.ru
Mon, 19 Aug 2002 17:53:43 +0500


Hello.

I think what I find one small bug in templates. The messages in log
file have "\" before some symbols (",' etc). For example, log file
definition:

destination d_lan_by_host { file("/var/log/lan/$HOST.log" template("$DATE $MESSAGE\n")); };

The log file line is:

Aug 18 12:28:53 At 07:28:50, Facility \"Auth Facility\", Level \"VERBOSE\":: A call, call id = 34996311, has arrived on interface slot:3/mod:23

The normal line is:

Aug 18 12:28:53 At 07:28:50, Facility "Auth Facility", Level "VERBOSE":: A call, call id = 34996311, has arrived on interface slot:3/mod:23

Is it for normal file name generation, isn't it ? But it's not very suitable for log file...

The version: 1.5.19

-- 
Regards, Sergey Afonin
asy@kraft-s.ru