title: Python INFO logs going to stderr_logfile of supervisord
body: <p>I have a python flask app that I have configured to run via Supevisord. The <code>supervisor.conf</code> file looks something like this - </p>
  
  <pre><code>[inet_http_server]
  port=127.0.0.1:9001     
  
  [supervisord]
  logfile=/path/to/log/supervisord.log  
  logfile_maxbytes=0                          ; max main logfile bytes b4 rotation; default 50MB
  logfile_backups=0                           ; # of main logfile backups; 0 means none, default 10
  loglevel=debug                              ; log level; default info; others: debug,warn,trace
  pidfile=/path/to/supervisord.pid 
  nodaemon=false                              ; start in foreground if true; default false
  directory=/path/to/project
  
  [rpcinterface:supervisor]
  supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
  
  ; The supervisorctl section configures how supervisorctl will connect to
  ; supervisord.  configure it match the settings in either the unix_http_server
  ; or inet_http_server section.
  
  [supervisorctl]
  serverurl=http://127.0.0.1:9001   
  history_file=/path/to/.sc_history  ; use readline history if available
  
  [program:my_server]
  command=&lt;command to run the program&gt;
  directory=/path/to/project
  stdout_logfile=/path/to/log/%(program_name)s_stdout.log       ; stdout log path, NONE for none; default AUTO
  stdout_logfile_maxbytes=0  ; 
  stderr_logfile=/path/to/log/%(program_name)s_stderr.log       ; stderr log path, NONE for none; default AUTO
  stderr_logfile_backups=0     ; # of stderr logfile backups (0 means none, default 10)
  </code></pre>
  
  <p>The issue is, when I run the app via supervisord, it logs all outputs - info, debug, error, etc to the <code>%(program_name)s_stderr.log</code> log file and not the <code>%(program_name)s_stdout.log</code> file.</p>
  
  <p>I log my info messages using the python's default logging library as - </p>
  
  <pre><code>logger.info("Some info msg")
  </code></pre>
  
  <p>What could be the reason for this behaviour?</p>