For a program configuration block in Supervisord, is it necessary to set stderr_logfile if redirect_stderr is true?
stderror_logfile=/path/to/logfile/stderr.log
stdout_logfile=/path/to/logfile/stdout.log
redirect_stderr=true
Since redirect_stderr is true, this should mean that stderr.log will be empty, and the combination of stderr and stdout streams will show up in sdtout.log. Is my understanding correct?
Best Answer
Quoting Supervisord configuration file documentation :
Then yes, both
stderr
andstdout
will appear instdout.log
, andstderr.log
will remain empty.