Re: [squid-users] stale-if-error returning a 502

2024-02-01 Thread Alex Rousskov
On 2024-02-01 12:03, Robin Carlisle wrote: Hi, I am having trouble with stale-if-error response. If I am interpreting Squid code correctly, in primary use cases: * without a Cache-Control:stale-if-error=X in the original response, Squid sends a stale object if revalidation results in a 5xx

[squid-users] stale-if-error returning a 502

2024-02-01 Thread Robin Carlisle
Hi, I am having trouble with stale-if-error response. I am making calls using curl to an API (under my control) on Amazon AWS. Config and details below ... # /etc/squid/squid.conf : acl to_aws dstdomain .amazonaws.com acl from_local src localhost http_access allow to_aws http_access allow

Re: [squid-users] does the logging of cache.log support the log modules like daemon, syslog, udp ...

2024-02-01 Thread Alex Rousskov
On 2024-02-01 07:15, Dieter Bloms wrote: Is it possible to send the cache.logs to the syslog socket /dev/log ? cache_log does not have access_log's concept of logging modules. * To send level-0/1 cache.log messages to syslog, use "squid -s ..." or "squid -l... ...". By default, syslog is

[squid-users] does the logging of cache.log support the log modules like daemon, syslog, udp ...

2024-02-01 Thread Dieter Bloms
Hello, I would like to run the squid in a Kubernetes environment. I can simply send the access.log outside the container with the syslog module. I have tried it with the cache.log, but unfortunately I don't see any log entries from the cache.log. The access.log lines are transmitted: --snip-- #