Merge lp:~hloeung/ubuntu-repository-cache/logformat-strftime into lp:ubuntu-repository-cache

Proposed by Haw Loeung
Status: Merged
Approved by: Haw Loeung
Approved revision: 358
Merged at revision: 355
Proposed branch: lp:~hloeung/ubuntu-repository-cache/logformat-strftime
Merge into: lp:ubuntu-repository-cache
Diff against target: 12 lines (+1/-1)
1 file modified
templates/squid-deb-proxy/squid-deb-proxy.conf (+1/-1)
To merge this branch: bzr merge lp:~hloeung/ubuntu-repository-cache/logformat-strftime
Reviewer Review Type Date Requested Status
Thomas Cuthbert (community) Approve
Canonical IS Reviewers Pending
Review via email: mp+427339@code.launchpad.net

Commit message

Fix custom log format, strftime format args needs to be before related format codes in older squids - LP:1780341

To post a comment you must log in.
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

This merge proposal is being monitored by mergebot. Change the status to Approved to merge.

Revision history for this message
Thomas Cuthbert (tcuthbert) wrote :

LGTM +1

review: Approve
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Change successfully merged at revision 355

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'templates/squid-deb-proxy/squid-deb-proxy.conf'
2--- templates/squid-deb-proxy/squid-deb-proxy.conf 2022-07-22 01:56:25 +0000
3+++ templates/squid-deb-proxy/squid-deb-proxy.conf 2022-07-25 01:17:13 +0000
4@@ -47,7 +47,7 @@
5
6 # use different logs
7 cache_log /var/log/squid-deb-proxy/cache.log
8-logformat custom-squid %tg{% raw %}{%F %H:%M:%S}{% endraw %} %6tr %>a %Ss/%03>Hs %<st %rm %ru %[un %Sh/%<a %mt
9+logformat custom-squid {% raw %}%{%F %H:%M:%S}tg %6tr %>a %Ss/%03>Hs %<st %rm %ru %[un %Sh/%<a %mt{% endraw %}
10 access_log daemon:/var/log/squid-deb-proxy/access.log custom-squid
11
12 # tweaks to speed things up

Subscribers

People subscribed via source and target branches