Re: [squid-users] Squid inside docker

2021-09-08 Thread Graham Wharton
ubject: Re: [squid-users] Squid inside docker On 9/8/21 8:06 AM, Graham Wharton wrote: > Are you aware of any options to direct the access log to stdout aswell > as the cache log? I suspect it is possible to hack it, but I think it is better to send access log records to a dedicated TCP s

Re: [squid-users] Squid inside docker

2021-09-08 Thread Amos Jeffries
On 9/09/21 3:55 am, Graham Wharton wrote: If you run squid as user squid (or whoever your cache_effective_user), it does not change user, and the squid user has full access to write to stdout, so ... 2021-09-08T16:49:15.065+01:00 2021/09/08 16:49:15| WARNING: no_suid: setuid(0): (1) Opera

Re: [squid-users] Squid inside docker

2021-09-08 Thread Graham Wharton
Are you aware of any options to direct the access log to stdout aswell as the cache log? -Original Message- From: Alex Rousskov Sent: 07 September 2021 14:08 To: Graham Wharton ; squid-users@lists.squid-cache.org Subject: Re: [squid-users] Squid inside docker On 9/7/21 8:57 AM, Graham

Re: [squid-users] Squid inside docker

2021-09-08 Thread Alex Rousskov
ts.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 lo

[squid-users] Squid inside docker

2021-09-07 Thread Graham Wharton
It would be great if something could be done to help squid running inside docker, Particularly 1. Logging to stdout/stderr 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 exception location: Instan

Re: [squid-users] Squid inside docker

2021-09-07 Thread Alex Rousskov
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