[squid-users] about logformat

Alex Rousskov rousskov at measurement-factory.com
Sun Aug 15 22:51:56 UTC 2021


On 8/15/21 6:25 PM, Pavel Serrat wrote:
> Hello friends
> I'm trying to customize my squid log format and I have the following question:
> What is the difference between %6tr and %tr ???
> What does %03>Hs mean?
> Is the same %03tu as %tu?
> help me please

In addition to what Antony Stone has said, you may find it useful to
study a better documented printf() API. Logformat borrowed most of its
ideas from that formatting specifications. You can use this Wikipedia
article as a starting point:

https://en.wikipedia.org/wiki/Printf_format_string

Alex.


More information about the squid-users mailing list