Skip to content

Commit

Permalink
Merge pull request #57 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 committed Jan 8, 2023
2 parents c5cf2a2 + 60a7ca3 commit 58247a7
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 58247a7

Please sign in to comment.