summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-03-01 21:07:42 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-03-01 21:07:42 +0100
commit132f1ee6100f818fd1f055f74d525c65b4907a47 (patch)
tree11875e3ac594c93bf6966e6d01a017ba2e34f8de
parent9cbcab6d9e3d4ca6d77b4d5e83cff6004efd5d61 (diff)
downloadadei-132f1ee6100f818fd1f055f74d525c65b4907a47.tar.gz
adei-132f1ee6100f818fd1f055f74d525c65b4907a47.tar.bz2
adei-132f1ee6100f818fd1f055f74d525c65b4907a47.tar.xz
adei-132f1ee6100f818fd1f055f74d525c65b4907a47.zip
Stream redirection fails in ErrorLog, so we just log to stdout for now
-rwxr-xr-xadei/scripts/configure.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/adei/scripts/configure.sh b/adei/scripts/configure.sh
index acb6fbb..458c3dc 100755
--- a/adei/scripts/configure.sh
+++ b/adei/scripts/configure.sh
@@ -10,4 +10,5 @@ sed -i'' -re 's/short_open_tag\s*=.*/short_open_tag = On/' /etc/php5/apache2/php
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 CustomLog for now
-sed -i'' -re 's@^ErrorLog .*@ErrorLog "|/usr/bin/tee -a /var/log/apache2/error_log 1>&2"@' /etc/apache2/httpd.conf
+# Redirection fails here. So lets keep logging to stdout for now.
+sed -i'' -re 's@^ErrorLog .*@ErrorLog "|/usr/bin/tee -a /var/log/apache2/error_log"@' /etc/apache2/httpd.conf