[squid-users] Squid Logs - TAG_NONE/503 errors

Alex Rousskov rousskov at measurement-factory.com
Thu Mar 11 16:41:38 UTC 2021

On 3/11/21 5:33 AM, Arjun K wrote:

> So can you assist me to include the custom log format which will provide
> further details.

If you still want to add these details after reading Amos response, then
please see logformat and access_log directives in squid.conf.documented:

* logformat description has examples of defining formats. You just need
to add the %codes I mentioned. Disclaimer: I do not know whether your
Squid supports those %codes and whether your Squid will populate those
%codes with useful information in your specific use case.

* access_log description has an example of specifying the format when
configuring access.log. You just need to use your custom format name
instead of "squid".



> In modern Squids, adding %err_code/%err_detail to your custom logformat
> definition may help detail the error further in some cases. In all
> Squids, looking at the Squid error response itself may help detail the
> error further.

More information about the squid-users mailing list