Skip to content

Commit 5e5c7b8

Browse files
committed
send supervisord process logs to container's stdout
1 parent 7b8024e commit 5e5c7b8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

supervisor_templates/supervisord.conf.tmpl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22

33
[unix_http_server]
44
file=${SUPERVISORD_SOCKET_FILE} ; (the path to the socket file)
5-
chmod=0700 ; sockef file mode (default 0700)
5+
chmod=0700 ; socket file mode (default 0700)
66

77
[supervisord]
8-
logfile=/usr/local/supervisor/supervisord.log ;
9-
pidfile=${SUPERVISORD_PID_FILE} ; (supervisord pidfile;default supervisord.pid)
10-
childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP)
8+
logfile=/dev/stdout ; send supervisor logs to stdout
9+
logfile_maxbytes = 0 ; forcibly disable log rotation
10+
pidfile=${SUPERVISORD_PID_FILE} ; (supervisord pidfile;default supervisord.pid)
11+
childlogdir=/usr/local/supervisor ; ('AUTO' child log dir, default $TEMP)
1112
user=${APP_USER}
1213

1314
; the below section must remain in the config file for RPC

0 commit comments

Comments
 (0)