[Bug 1780341] Re: squid should default to more human friendly timestamps

Andreas Hasenack andreas at canonical.com
Wed Apr 22 13:27:47 UTC 2020


For reference, just because it took me a while to get the syntax right,
plus https://bugs.squid-cache.org/show_bug.cgi?id=4905 made me scratch
my head a bit wondering why it wasn't working when I used "squid"
instead of another name:

logformat custom-squid  %tg{%F %H:%M:%S %z} %6tr %>a %Ss/%03>Hs %<st %rm %ru %[un %Sh/%<a %mt
access_log daemon:/var/log/squid/access.log custom-squid

Will yield:
2020-04-22 13:27:14 +0000     18 127.0.0.1 TCP_REFRESH_UNMODIFIED/200 265270 GET http://br.archive.ubuntu.com/ubuntu/dists/focal/InRelease - FIRSTUP_PARENT/10.10.1.6 -


** Bug watch added: Squid Bugzilla #4905
   http://bugs.squid-cache.org/show_bug.cgi?id=4905

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to squid in Ubuntu.
https://bugs.launchpad.net/bugs/1780341

Title:
  squid should default to more human friendly timestamps

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid/+bug/1780341/+subscriptions



More information about the Ubuntu-server-bugs mailing list