[squid-users] Squid inside docker

Graham Wharton graham at gwharton.me.uk
Wed Sep 8 12:06:01 UTC 2021


Are you aware of any options to direct the access log to stdout aswell as the cache log?

-----Original Message-----
From: Alex Rousskov <rousskov at measurement-factory.com> 
Sent: 07 September 2021 14:08
To: Graham Wharton <graham at gwharton.me.uk>; squid-users at lists.squid-cache.org
Subject: Re: [squid-users] Squid inside docker

On 9/7/21 8:57 AM, Graham Wharton wrote:
> It would be great if something could be done to help squid running 
> inside docker, Particularly

>  1. Logging to stdout/stderr

stderr logging is already supported: "squid -d1 ...".

FWIW, there is also syslog which, when enabled, gets level-0/1 messages:
"squid -s ...".


>  2. bash-5.1# squid -k reconfigure
> 
> 2021/09/07 13:55:50| FATAL: Bad PID file (/var/run/squid.pid) contains 
> unreasonably small PID value: 1

Already fixed in master/v6 (commit 3db00ca). The one-character fix is trivial to port to any modern Squid version.


HTH,

Alex.


More information about the squid-users mailing list