From 1b2cc679e34f9610bcecc8bcd015a25f35233426 Mon Sep 17 00:00:00 2001 From: boyska Date: Fri, 17 Aug 2018 15:44:48 +0200 Subject: [PATCH] FIX apache logging --- docker/Dockerfile-tt-rss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile-tt-rss b/docker/Dockerfile-tt-rss index dc36570..de8498b 100644 --- a/docker/Dockerfile-tt-rss +++ b/docker/Dockerfile-tt-rss @@ -19,8 +19,8 @@ RUN mkdir -p /app/public/tt-rss/ /var/cache/tt-rss/images \ sed -i '/cgroup_add_service$/d' /lib/rc/sh/openrc-run.sh &&\ sed -i '/^ntpd/d' /bootstrap/start.sh &&\ echo -e 'log_errors = On\nerror_log = syslog' >> /etc/php7/php.ini &&\ - sed -i -r 's@ErrorLog .*@ErrorLog "| logger -n syslog -T -P 514 -t apacheErr"@i' /etc/apache2/httpd.conf &&\ - echo 'TransferLog "| logger -n syslog -T -P 514 -t apacheLog"' >> /etc/apache2/httpd.conf + sed -i -r 's@ErrorLog .*@ErrorLog "|/usr/bin/logger -n syslog -T -P 514 -t apacheErr"@i' /etc/apache2/httpd.conf &&\ + echo 'TransferLog "|/usr/bin/logger -n syslog -T -P 514 -t apacheLog"' >> /etc/apache2/httpd.conf RUN apk --no-cache add util-linux COPY tt-rss/* /app/public/tt-rss/