UPGRADING.txt 1011 B

1234567891011121314151617181920
  1. Upgrading from supervisor 2 to supervisor 3
  2. - In '[program:x]' sections, the keys "logfile", "logfile_backups",
  3. "logfile_maxbytes", "log_stderr" and "log_stdout" are no longer
  4. valid. Supervisor2 logged both stderr and stdout to a single log
  5. file. Supervisor 3 logs stderr and stdout to separate log files.
  6. You'll need to rename "logfile" to "stdout_logfile",
  7. "logfile_backups" to "stdout_logfile_backups", and
  8. "logfile_maxbytes" to "stdout_logfile_maxbytes" at the very least to
  9. preserve your configuration. If you created program sections where
  10. "log_stderr" was true, to preserve the behavior of sending stderr
  11. output to the stdout log, use the "redirect_stderr" boolean in a
  12. program section.
  13. - The supervisor configuration file *must* include the following
  14. section verbatim for the XML-RPC interface (and thus the web
  15. interface and supervisorctl) to work properly::
  16. [rpcinterface:supervisor]
  17. supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface