[syslog-ng]extra escape sequences

SUGIMURA Takashi 杉村 貴士 syslog-ng@lists.balabit.hu
24 Apr 2003 00:42:44 +0900


Hello all developers,

I've been using your syslog-ng for including our software package of
log management system. I'm trying its version 1.6.0rc1 and libol-0.3.9,
and I'll also try the newest version later.

I found that syslog-ng can not handle some characters well when
the syslog-ng receives logs by tcp. I tested this problem only by tcp,
but I think that other sources might cause this problem.

I send the log message by tcp the follows:

-----
192.168.254.111 - - [22/Apr/2003:14:30:30 +0900] "GET /~sugimura/ HTTP/1.0" 200 3448 "-" "-"
-----

You know, this log was created by apache.

When syslog-ng receives this log, it writes down with extra escape sequences
as the follows:

-----
192.168.254.111 - - [22/Apr/2003:14:30:30 +0900] \"GET /~sugimura/ HTTP/1.0\" 200 3448 \"-\" \"-\"
-----

I think syslog-ng can not handle these kind of characters which defined by
C language strings, which are ', ", \, and so on.

Would you please check and fix this problem?

Thanks in advance,

---
SUGIMURA Takashi <sugimura@infoscience.co.jp>