Skip to content

Commit

Permalink
Merge pull request #58 from devilbox/release-1.2
Browse files Browse the repository at this point in the history
Fix httpd logs to be shown via docker logs
  • Loading branch information
cytopia authored Jan 8, 2023
2 parents 58b792c + e0a13e0 commit 10a0b5e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Dockerfiles/data/docker-entrypoint.d/15-supervisord.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 10a0b5e

Please sign in to comment.