From f955f68c54d34838dea8f2f8f23b499057c1b23f Mon Sep 17 00:00:00 2001 From: Brendan Shephard Date: Wed, 22 Nov 2023 09:08:55 +1000 Subject: [PATCH] Log to stdout Horizon is currently logging to individual files. This change moves the CustomLog logging to stdout. Signed-off-by: Brendan Shephard --- templates/horizon/config/httpd.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/horizon/config/httpd.conf b/templates/horizon/config/httpd.conf index 35f4f272..af7e5d45 100644 --- a/templates/horizon/config/httpd.conf +++ b/templates/horizon/config/httpd.conf @@ -38,9 +38,9 @@ LogLevel debug ## Logging - ErrorLog "/var/log/httpd/horizon_error.log" + ErrorLog /dev/sderr ServerSignature Off - CustomLog "/var/log/httpd/horizon_access.log" "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" + CustomLog /dev/stdout "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" env=forwarded ## RedirectMatch rules RedirectMatch permanent ^/$ /dashboard