diff --git a/build.sh b/build.sh index 56d1b315336916ba2cdfe83c1a35e90daecf5058..6fe755961dee3f42e558a840fdd5abdcc190ca68 100755 --- a/build.sh +++ b/build.sh @@ -62,9 +62,7 @@ APACHE_SYSLOG_TAG_DEFAULT=apache echo "export APACHE_SYSLOG_TAG=\${APACHE_SYSLOG_TAG:-${APACHE_SYSLOG_TAG_DEFAULT}}" >> /etc/apache2/envvars # Fix Apache error logging. -sed -i -e 's@^ErrorLog.*$@ErrorLog "|/usr/bin/logger -p daemon.error -t \${APACHE_SYSLOG_TAG}"@' \ - -e 's,^LogLevel warn,LogLevel ${APACHE_LOG_LEVEL?=warn},' \ - /etc/apache2/apache2.conf +sed -i -e 's@^ErrorLog.*$@ErrorLog "|/usr/bin/logger -p daemon.error -t \${APACHE_SYSLOG_TAG}"@' /etc/apache2/apache2.conf # Make APACHE_RUN_USER externally configurable (defaults to www-data if unset) # and fix some paths used by apache2 to be container-friendly.