From faca4c3d7b327bb9dccaa1838051f9ce54a608a6 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 27 May 2025 19:24:38 -0500 Subject: [PATCH] httpd config: Add SERVER_NAME to log Debugging mtpo issue --- files/etc/httpd/conf/httpd.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/etc/httpd/conf/httpd.conf b/files/etc/httpd/conf/httpd.conf index 7b350e4..1ec09bf 100644 --- a/files/etc/httpd/conf/httpd.conf +++ b/files/etc/httpd/conf/httpd.conf @@ -189,7 +189,7 @@ LogLevel warn # The following directives define some format nicknames for use with # a CustomLog directive (see below). # - LogFormat "%h (for %{X-Forwarded-For}i) %v %U %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined + LogFormat "%h (for %{X-Forwarded-For}i as %{SERVER_NAME}e) %v %U %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common