changeset 452:7222218a7098

Log HTTP request duration The Raspberry Pi seems quick, so it'll be interesting to see how long it takes to serve content!
author IBBoard <dev@ibboard.co.uk>
date Sun, 13 Aug 2023 15:21:49 +0100
parents a08a2f718f9d
children dc725b618258
files modules/website/manifests/https.pp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/website/manifests/https.pp	Sun Aug 13 15:19:38 2023 +0100
+++ b/modules/website/manifests/https.pp	Sun Aug 13 15:21:49 2023 +0100
@@ -151,7 +151,7 @@
     custom_fragment => $custom_conf,
     logroot         => '/var/log/apache/',
     access_log_file => "access_${logpart}.log",
-    access_log_format => "%h %l %u %t \\\"%r\\\" %>s %b \\\"%{Referer}i\\\" \\\"%{User-agent}i\\\" %{Host}i",
+    access_log_format => "%h %l %u %t \\\"%r\\\" %>s %b \\\"%{Referer}i\\\" \\\"%{User-agent}i\\\" %{Host}i %D",
     error_log_file  => "error_${logpart}.log",
     serveraliases   => $serveraliases,
     ssl             => true,