Skip to content

Commit 298640b

Browse files
committed
improve supervisor services logging
1 parent 07b2a34 commit 298640b

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

etc/configs/supervisor/program.conf

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ startretries=${startretries}
77
startsecs=1 # Consider process started if it runs for at least 1 second
88

99
# Logging settings
10-
stdout_logfile=/var/log/supervisor/${process_name}.out.log
11-
stdout_logfile_maxbytes=50MB
12-
stdout_logfile_backups=10
13-
stderr_logfile=/var/log/supervisor/${process_name}.err.log
14-
stderr_logfile_maxbytes=50MB
15-
stderr_logfile_backups=10
10+
stdout_logfile=/dev/fd/1
11+
stdout_logfile_maxbytes=0
12+
stderr_logfile=/dev/fd/2
13+
stderr_logfile_maxbytes=0
1614

1715
# Environment
1816
environment=${envs}

0 commit comments

Comments
 (0)