Skip to content

Commit

Permalink
Docker: Log more things to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelm committed Feb 9, 2021
1 parent c0792f4 commit 25c35b0
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
5 changes: 2 additions & 3 deletions deployment/docker/supervisord/base.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
file=/tmp/supervisor.sock

[supervisord]
logfile=/tmp/supervisord.log
logfile_maxbytes=50MB
logfile_backups=10
logfile=/dev/stdout
logfile_maxbytes=0
loglevel=info
pidfile=/tmp/supervisord.pid
nodaemon=false
Expand Down
6 changes: 4 additions & 2 deletions deployment/docker/supervisord/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ command=/usr/sbin/nginx
autostart=true
autorestart=true
priority=10
stdout_events_enabled=true
stderr_events_enabled=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
stderr_logfile=/dev/fd/2
stderr_logfile_maxbytes=0
4 changes: 4 additions & 0 deletions deployment/docker/supervisord/pretixtask.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ autostart=true
autorestart=true
priority=5
user=pretixuser
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
stderr_logfile=/dev/fd/2
stderr_logfile_maxbytes=0
4 changes: 4 additions & 0 deletions deployment/docker/supervisord/pretixweb.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ autorestart=true
priority=5
user=pretixuser
environment=HOME=/pretix
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
stderr_logfile=/dev/fd/2
stderr_logfile_maxbytes=0

0 comments on commit 25c35b0

Please sign in to comment.