Merge lp:~hloeung/ubuntu-repository-cache/squid-logging-human-sensible-timestamps into lp:ubuntu-repository-cache
Proposed by
Haw Loeung
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Haw Loeung | ||||||||
Approved revision: | 341 | ||||||||
Merged at revision: | 338 | ||||||||
Proposed branch: | lp:~hloeung/ubuntu-repository-cache/squid-logging-human-sensible-timestamps | ||||||||
Merge into: | lp:ubuntu-repository-cache | ||||||||
Diff against target: |
22 lines (+3/-2) 1 file modified
templates/squid-deb-proxy/squid-deb-proxy.conf (+3/-2) |
||||||||
To merge this branch: | bzr merge lp:~hloeung/ubuntu-repository-cache/squid-logging-human-sensible-timestamps | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Collins | lgtm | Approve | |
Canonical IS Reviewers | Pending | ||
Review via email: mp+403843@code.launchpad.net |
Commit message
Fix squid logging format to use sensible timestamps rather than milliseconds since epoch - LP:1931155 / LP:1780341
To post a comment you must log in.
ubuntu@machine-2:~$ sudo tail /var/log/ squid-deb- proxy/access. log -f MODIFIED/ 200 261 HEAD http:// us.archive. ubuntu. com/ubuntu/ pool/main/ - HIER_DIRECT/ 91.189. 91.39 text/html MODIFIED/ 200 261 HEAD http:// us.archive. ubuntu. com/ubuntu/ pool/main/ - HIER_DIRECT/ 91.189. 91.39 text/html MODIFIED/ 200 261 HEAD http:// us.archive. ubuntu. com/ubuntu/ pool/main/ - HIER_DIRECT/ 91.189. 91.39 text/html MODIFIED/ 200 261 HEAD http:// us.archive. ubuntu. com/ubuntu/ pool/main/ - HIER_DIRECT/ 91.189. 91.39 text/html us.archive. ubuntu. com/ubuntu/ pool/main/ b/bash/ bash_5. 0-6ubuntu1_ amd64.deb - HIER_NONE/- application/ x-debian- package us.archive. ubuntu. com/ubuntu/ pool/main/ b/bash/ bash_5. 0-6ubuntu1_ amd64.deb - HIER_DIRECT/ 91.189. 91.39 application/ x-debian- package us.archive. ubuntu. com/ubuntu/ pool/universe/ u/ubuntu- wallpapers/ ubuntu- wallpapers- xenial_ 20.04.2- 0ubuntu1_ all.deb - HIER_NONE/- application/ x-debian- package us.archive. ubuntu. com/ubuntu/ pool/universe/ u/ubuntu- wallpapers/ ubuntu- wallpapers- xenial_ 20.04.2- 0ubuntu1_ all.deb - HIER_DIRECT/ 91.189. 91.39 application/ x-debian- package MODIFIED/ 200 261 HEAD http:// us.archive. ubuntu. com/ubuntu/ pool/main/ - HIER_DIRECT/ 91.189. 91.38 text/html MODIFIED/ 200 261 HEAD http:// us.archive. ubuntu. com/ubuntu/ pool/main/ - HIER_DIRECT/ 91.189. 91.38 text/html
1623115336.857 24 127.0.0.1 TCP_REFRESH_
1623115351.854 25 127.0.0.1 TCP_REFRESH_
1623115366.841 25 127.0.0.1 TCP_REFRESH_
1623115383.104 1059 127.0.0.1 TCP_REFRESH_
1623115383.293 1 127.0.0.1 TCP_MEM_HIT/200 638825 GET http://
1623115384.464 85 127.0.0.1 TCP_MISS/200 638818 GET http://
1623115385.666 61 127.0.0.1 TCP_MEM_HIT/200 17131593 GET http://
1623115387.123 144 127.0.0.1 TCP_MISS/200 17131586 GET http://
1623115397.087 41 127.0.0.1 TCP_REFRESH_
1623115412.077 24 127.0.0.1 TCP_REFRESH_
2021-06-08 01:23:47 +0000 25 127.0.0.1 TCP_REFRESH_ MODIFIED/ 200 256 HEAD http:// us.archive. ubuntu. com/ubuntu/ pool/main/ - HIER_DIRECT/ 91.189. 91.38 text/html MODIFIED/ 200 261 HEAD http:// us.archive. ubuntu. com/ubuntu/ pool/main/ - HIER_DIRECT/ 91.189. 91.38 text/html us.archive. ubuntu. com/ubuntu/ pool/main/ b/bash/ bash_5. 0-6ubuntu1_ amd64.deb - HIER_NONE/- application/ x-debian- package us.archive. ubuntu. com/ubuntu/ pool/main/ b/bash/ bash_5. 0-6ubuntu1_ amd64.deb - HIER_DIRECT/ 91.189. 91.38 application/ x-debian- package us.archive. ubuntu. com/ubuntu/ pool/universe/ u/ubuntu- wallpapers/ ubuntu- wallpapers- xenial_ 20.04.2- 0ubuntu1_ all.deb - HIER_NONE/- application/ x-debian- package
2021-06-08 01:24:01 +0000 27 127.0.0.1 TCP_REFRESH_
2021-06-08 01:24:03 +0000 1 127.0.0.1 TCP_MEM_HIT/200 638825 GET http://
2021-06-08 01:24:04 +0000 88 127.0.0.1 TCP_MISS/200 638813 GET http://
2021-06-08 01:24:06 +0000 91 127.0.0.1 TCP_MEM_HIT/200 17131593 GET http://
^C