Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For a program configuration block in Supervisord, is it necessary to set stderr_logfile if redirect_stderr is 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?

share|improve this question
up vote 2 down vote accepted

Quoting Supervisord configuration file documentation :

If true, cause the process’ stderr output to be sent back to supervisord on its stdout file descriptor (in UNIX shell terms, this is the equivalent of executing /the/program 2>&1).

Put process stderr output in this file unless redirect_stderr is true.

Then yes, both stderr and stdout will appear in stdout.log, and stderr.log will remain empty.

share|improve this answer
Thx, seemed like that's what the docs meant, but wanted to double check. – hgcrpd Jul 16 '13 at 5:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.