<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Dear Squid users,</p>
<p>I have a problem with Squid 3.1 on Debian Squeeze.</p>
<p>squid3 -v<br />Squid Cache: Version 3.1.6</p>
<p>When I use the syslog Log module for access_log the syslog lines have a funky program name called (squid) i.s.o. squid.<br />This is different from syslog lines of Squid v2. ( Squid Cache: Version 2.7.STABLE9 ).<br />I will provide an example here:<br /><br />Squid v2.7:</p>
<p>Jun 25 08:36:37 proxy <strong><span style="background-color: #ffff99;">squid[16271]</span></strong>: 192.168.2.85 - - [25/Jun/2015:08:36:37 +0200] "GET http://tpc.googlesyndication.com/safeframe/1-0-2/html/container.html HTTP/1.1" 200 2439 "http://tweakers.net/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_0) AppleWebKit/400.5.3 (KHTML, like Gecko) Version/5.2.3 Safari/427.8.5" TCP_MISS:DIRECT</p>
<p>Squid v3.1.6:</p>
<p>Jun 24 21:47:56 proxy <strong><span style="background-color: #ffff99;">(squid)</span></strong>: 192.168.2.85 - - [24/Jun/2015:21:47:56 +0200] "GET http://cdn.viglink.com/images/pixel.gif? HTTP/1.1" 200 639 "http://www.zdnet.com/blog/central-europe/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_0) AppleWebKit/400.5.3 (KHTML, like Gecko) Version/5.2.3 Safari/427.8.5" TCP_MISS:DIRECT</p>
<p>When I try to parse the syslog lines, the ones with the (squid) as a program name fail because there are not normal syslog lines.<br />Why is this happening ? And is this fixed in a later release ? Or maybe it's some configuration problem ?<br /><br />squid.conf (interesting parts only)</p>
<p>logformat combined %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %>Hs %<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh<br />access_log syslog:local7 combined</p>
<p>I've googled around and some other guy had the same issue:<br />http://serverdown.ttwait.com/que/410957</p>
<p><br />Thanks,<br /><br />Ronald </p>
<p> </p>
<div> </div>
</body></html>