squid always generates 2 lines of syslog

View: New views
2 Messages — Rating Filter:   Alert me  

squid always generates 2 lines of syslog

by เทพประทีปคร้าบบบ :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,
i use squid 3.0.STABLE19, i configured to keep log by syslog to
centralized log server, but squid always generates 2 lines of syslog,
one has squid message, but the other has only header no message body
like this

Nov  1 01:40:13 squid (squid): client_IP - - [01/Nov/2009:01:40:13
+0300] "GET http://video-stats.video.google.com/s? HTTP/1.1" 204 358
TCP_MISS:DIRECT
Nov  1 01:40:13 squid (squid):

 the centralized log server keep only the null body message.

how to configure to generate only 1 line per log message
i've tried to change every configuratino line involving log but it
always generates 2 line of message

please help

thank you

Re: squid always generates 2 lines of syslog

by Henrik Nordstrom-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

sön 2009-11-01 klockan 11:41 +0700 skrev เทพประทีปคร้าบบบ:
> Hi all,
> i use squid 3.0.STABLE19, i configured to keep log by syslog to
> centralized log server, but squid always generates 2 lines of syslog,
> one has squid message, but the other has only header no message body
> like this

This is a minor bug in squid which will show up on some log servers.
Squid sends just one log message, but it ends with a newline which some
syslog servers split into an empty line.

Please file a bug report at bugs.squid-cache.org so we don't forget
looking into fixing the issue.

Regards
Henrik