From 4fc69d3b59e79534bb020d24611828d7052d56d9 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 21 Aug 2019 03:41:52 +0200 Subject: Redirect CustomLog --- 2.4/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/2.4/Dockerfile b/2.4/Dockerfile index b57d230..9074b19 100644 --- a/2.4/Dockerfile +++ b/2.4/Dockerfile @@ -37,6 +37,7 @@ RUN set -ex; \ \ # Configure Apache sed -i -e "s|Listen .*|Listen 8080|" "/etc/apache2/httpd.conf"; \ + sed -i -e "s|CustomLog logs.*|CustomLog /proc/self/fd/1 combined|" "/etc/apache2/httpd.conf"; \ sed -i -e "s|ErrorLog logs.*|ErrorLog /proc/self/fd/2|" "/etc/apache2/httpd.conf"; \ sed -i -e "s|PidFile .*|PidFile /tmp/apache.pid|" "/etc/apache2/conf.d/mpm.conf"; \ \ -- cgit v1.2.1