[squid-users] Square Bracket in LogFormat
Alex Rousskov
rousskov at measurement-factory.com
Fri Oct 25 21:02:04 UTC 2024
On 2024-10-25 14:28, GM Test wrote:
> I'm not sure if this is the right place to ask this question
Yes, it is.
> but in the
> *logformat *command, I cannot seem to work out what the square bracket
> is for?
When used at the beginning of a logformat %code name, a single square
bracket character specifies a particular encoding algorithm for that
%code values. To find documentation for that encoding, search for the
words "Custom Squid encoding where percent" in recent
squid.conf.documented or at
http://www.squid-cache.org/Doc/config/logformat
HTH,
Alex.
>
> For example:
>
> logformat squid %ts.%03tu %6tr %>a %Ss/%03>Hs %<st %rm %ru %[un
> %Sh/%<a %mt
>
>
> http://www.squid-cache.org/Doc/config/logformat/
> <http://www.squid-cache.org/Doc/config/logformat/>
>
> Would anyone be able to tell me?
>
> Many thanks,
> lan
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> https://lists.squid-cache.org/listinfo/squid-users
More information about the squid-users
mailing list