diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2018-03-01 20:40:52 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2018-03-01 20:40:52 +0100 |
commit | 9cbcab6d9e3d4ca6d77b4d5e83cff6004efd5d61 (patch) | |
tree | 6e1540168c2282cc40b09431b873c456282794cb /adei/scripts | |
parent | 61f4b8e1e02032fe8fba01487d6bb05ae6e5e243 (diff) | |
download | adei-9cbcab6d9e3d4ca6d77b4d5e83cff6004efd5d61.tar.gz adei-9cbcab6d9e3d4ca6d77b4d5e83cff6004efd5d61.tar.bz2 adei-9cbcab6d9e3d4ca6d77b4d5e83cff6004efd5d61.tar.xz adei-9cbcab6d9e3d4ca6d77b4d5e83cff6004efd5d61.zip |
Prevent double logging
Diffstat (limited to 'adei/scripts')
-rwxr-xr-x | adei/scripts/configure.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |