> > stdout of the helper is the channel to respond to Squid requests. Do not > send other information there.
Helper debug info etc should go to the helper stderr which Squid will > deliver to cache.log. Thank you, Amos. I am glad there is a built-in way to handle this. However, I tried putting this inside the script: > sys.stderr.write("test ################################################") However, I still can not see the info in the cache log, these are my configurations: > cache_log stdio:/dev/stdout > cache_store_log stdio:/dev/stdout I even tried adding this, but still no luck: > debug_options 82,9 I can see the rest of the cache log just fine, and stdout makes it to its destination just fine as well. Any idea what is wrong? Thanks, Roee On Tue, Dec 28, 2021 at 7:46 AM Amos Jeffries <squ...@treenet.co.nz> wrote: > On 28/12/21 18:32, roee klinger wrote: > > Hey, > > > > I am running Squid inside a Docker container, and I am using an external > > helper, I am trying to get the logs from the external helper to go to > > Docker logs (stdout). > > > > Currently, I am writing the logs to a file, which works, but I would > > like to get them to stdout instead, however, Squid redirects all the > > stdout from the external helper to itself, which makes me unable to send > > the logs I want to stdout. > > > > Is there a way for me to send the logs I want to the main stdout of the > > container and not to Squid itself? > > stdout of the helper is the channel to respond to Squid requests. Do not > send other information there. > > Helper debug info etc should go to the helper stderr which Squid will > deliver to cache.log. > > Amos > _______________________________________________ > squid-users mailing list > squid-users@lists.squid-cache.org > http://lists.squid-cache.org/listinfo/squid-users >
_______________________________________________ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users