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

Reply via email to