Merge lp:~hloeung/ubuntu-repository-cache/apache2-logging-request-time into lp:ubuntu-repository-cache

Proposed by Haw Loeung
Status: Merged
Approved by: Haw Loeung
Approved revision: 342
Merged at revision: 339
Proposed branch: lp:~hloeung/ubuntu-repository-cache/apache2-logging-request-time
Merge into: lp:ubuntu-repository-cache
Diff against target: 20 lines (+3/-2)
1 file modified
templates/apache2/archive_ubuntu_com.conf (+3/-2)
To merge this branch: bzr merge lp:~hloeung/ubuntu-repository-cache/apache2-logging-request-time
Reviewer Review Type Date Requested Status
Paul Collins lgtm Approve
Canonical IS Reviewers Pending
Review via email: mp+403844@code.launchpad.net

Commit message

Include logging of time taken to serve the request in apache logs

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
Paul Collins (pjdc) :
review: Approve (lgtm)
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Change successfully merged at revision 339

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'templates/apache2/archive_ubuntu_com.conf'
2--- templates/apache2/archive_ubuntu_com.conf 2021-03-07 23:23:47 +0000
3+++ templates/apache2/archive_ubuntu_com.conf 2021-06-08 02:20:32 +0000
4@@ -1,5 +1,5 @@
5 #
6-# JUJU WARNING: This file is managed by Juju, do NOT edit
7+# JUJU WARNING: This file is managed by Juju, do NOT edit
8 #
9
10 <VirtualHost *:80>
11@@ -13,7 +13,8 @@
12 ServerAlias ftp.ubuntulinux.org
13 ServerAlias ftp.no-name-yet.com
14
15- CustomLog /var/log/apache2/archive.ubuntu.com-access.log combined
16+ LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\" (%D)" combined_with_request_time
17+ CustomLog /var/log/apache2/archive.ubuntu.com-access.log combined_with_request_time
18 ErrorLog /var/log/apache2/archive.ubuntu.com-error.log
19
20 DocumentRoot {{ DocumentRoot }}/www

Subscribers

People subscribed via source and target branches