From 9cbcab6d9e3d4ca6d77b4d5e83cff6004efd5d61 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 1 Mar 2018 20:40:52 +0100 Subject: Prevent double logging --- adei/scripts/configure.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'adei/scripts') diff --git a/adei/scripts/configure.sh b/adei/scripts/configure.sh index 93a5b8b..acb6fbb 100755 --- a/adei/scripts/configure.sh +++ b/adei/scripts/configure.sh @@ -9,5 +9,5 @@ sed -i'' -rf /opt/scripts/override.sed /etc/apache2/default-server.conf sed -i'' -re 's/short_open_tag\s*=.*/short_open_tag = On/' /etc/php5/apache2/php.ini sed -i'' -re 's@session.save_path\s*=.*@session.save_path=/tmp@' /etc/php5/apache2/php.ini -# Docker allows to view stdout/stderr streams individually, but OpenShift not. So we skip TransferLog for now -sed -i'' -re 's@^ErrorLog .*@ErrorLog "|/usr/bin/tee -a /var/log/apache2/error.log /dev/stderr"@' /etc/apache2/httpd.conf +# Docker allows to view stdout/stderr streams individually, but OpenShift not. So we skip CustomLog for now +sed -i'' -re 's@^ErrorLog .*@ErrorLog "|/usr/bin/tee -a /var/log/apache2/error_log 1>&2"@' /etc/apache2/httpd.conf -- cgit v1.2.3