[squid-users] problem in squid log

Alex Rousskov rousskov at measurement-factory.com
Mon Nov 8 19:42:14 UTC 2021


On 11/8/21 5:30 AM, Majed Zouhairy wrote:
> when i run sarg
> 
> SARG: sarg version: 2.4.0 Jan-16-2020
> SARG: Reading access log file: /var/log/squid/access.log
> SARG: Log format identified as "squid log format" for
> /var/log/squid/access.log
> SARG: The following line read from /var/log/squid/access.log could not
> be parsed and is ignored
> 1636349341.484     12 10.184.0.2 NONE_NONE/400 20417 GET
> https://zen.yandex.by/lz5XeGt8f/ir4w02684/13f5fd2qrAJ2/p_CMhOoMLrxy4M2QFtQI-HLBvD5tHT6JdGbykwp9eDzBNcrpN2RIqcyiFH9pWekXwFsAEtIMz3_5FVo5y8zXIrAwGER6-e4cM0VckNJR_CjjEd2OObzKrHDSM2ZrfFzJ9CELTSJAeFt45wBcaGm_VqdcIXKVKFp7THc-uX7PdjLGAUpRv63aKSdE2OOnMXyOt0SJK0vNXql0thIirh9cGORGu31DYR9cCKZAW9gYjiGgfTFlxfgLOitwTohOyMZzx3ZNcK_K-rk2Vb_
> 
> ....
> UPVydoTW1636349696.714    629 10.106.0.2 NONE_NONE/200 0 CONNECT
> azscus1-client-s.gateway.messenger.live.com:443 -
> HIER_DIRECT/40.74.219.49 -
> SARG: 4 consecutive errors found in the input log file
> /var/log/squid/access.log
> 
> so i think the solution would be to exclude zen.yandex.by from processing ?

The correct solution would depend on what you are trying to accomplish
(with sarg), but that solution is unlikely to include disabling logging
of requests to any domains IMHO.

Based on the above output (that could have been changed by multiple mail
agents), it is difficult for me to guess what sarg did not like, but if
you are suffering from Squid SMP workers corrupting each-other
access.log entries, then please see Bug 5173:
https://bugs.squid-cache.org/show_bug.cgi?id=5173


HTH,

Alex.


More information about the squid-users mailing list