Search squid archive

Re: acl / format code evaluation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 5 Nov 2021 at 14:35, Alex Rousskov
<rousskov@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
...
> They are evaluated when used. In your specific case, you have not told
> us how your configuration uses logformat "log", but if you are using
> "log" just for the access_log directive, then "log" %codes are evaluated
> when Squid creates the access.log record for each transaction.
>
>
> HTH,
>
> Alex.

Thanks Alex,

After looking at the source code again I am beginning to understand
how the format codes are used.

On the subject of unique ids, the code %random isn't necessarily of my
choosing. But it has 54^8 combinations, and comes from /dev/urandom by
way of a Mersenne Twister. But I will give due consideration to usage
of such a thing. I think you are suggesting that a "proper" UUID may
be better, that incorporates a time element and is suitably long.

Given that %master_axtion is a counter which resets when you restart
squid, and is not unique among squids (or restarts), is there not a
case to be made for making one available?

Regards,
Jason
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux