Skip to content

Commit d3a9a94

Browse files
committed
feat: improve docker logs
1 parent a1e11da commit d3a9a94

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

supervisord.conf

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,20 @@ serverurl=unix:///var/run/supervisor.sock
77

88
[program:emulator]
99
command=/bin/bash /root/start-emulator.sh
10-
stdout_logfile=/var/log/supervisor/emulator.out.log
11-
stderr_logfile=/var/log/supervisor/emulator.err.log
10+
stdout_logfile=/dev/stdout
11+
stdout_logfile_maxbytes=0
12+
stderr_logfile=/dev/stderr
13+
stderr_logfile_maxbytes=0
1214
autorestart=true
1315
startretries=3
1416
retry_interval=10
1517
priority=20
1618

1719
[program:first-boot]
1820
command=/root/first-boot.sh
19-
stdout_logfile=/var/log/supervisor/first-boot.out.log
20-
stderr_logfile=/var/log/supervisor/first-boot.err.log
21+
stdout_logfile=/dev/stdout
22+
stdout_logfile_maxbytes=0
23+
stderr_logfile=/dev/stderr
24+
stderr_logfile_maxbytes=0
2125
autorestart=false
2226
priority=10

0 commit comments

Comments
 (0)