From 60a7ca31c1c2ec3de6be9794e569d6308dddb0ce Mon Sep 17 00:00:00 2001 From: cytopia Date: Sun, 8 Jan 2023 12:45:02 +0100 Subject: [PATCH] Fix httpd logs to be shown via docker logs --- Dockerfiles/data/docker-entrypoint.d/15-supervisord.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Dockerfiles/data/docker-entrypoint.d/15-supervisord.sh b/Dockerfiles/data/docker-entrypoint.d/15-supervisord.sh index f01f874..1867b09 100755 --- a/Dockerfiles/data/docker-entrypoint.d/15-supervisord.sh +++ b/Dockerfiles/data/docker-entrypoint.d/15-supervisord.sh @@ -80,13 +80,8 @@ supervisord_create() { echo "startretries=100" echo "startsecs=1" echo "autorestart=true" - if [ "${SVCTL_REMOTE_LOGS_ENABLE}" = "1" ]; then - echo "stdout_logfile=/var/log/supervisord-httpd.log" - echo "stderr_logfile=/var/log/supervisord-httpd.err" - else - echo "stdout_logfile=/dev/stdout" - echo "stderr_logfile=/dev/stderr" - fi + echo "stdout_logfile=/dev/stdout" + echo "stderr_logfile=/dev/stderr" echo "stdout_logfile_maxbytes=0" echo "stderr_logfile_maxbytes=0" echo "stdout_events_enabled=true"