Ver código fonte

Add note that redirect_stderr must not be used with eventlisteners

Mike Naberezny 10 anos atrás
pai
commit
1da156d21c
1 arquivos alterados com 7 adições e 0 exclusões
  1. 7 0
      docs/configuration.rst

+ 7 - 0
docs/configuration.rst

@@ -772,6 +772,13 @@ where specified.
   :program:`supervisord` on its stdout file descriptor (in UNIX shell
   terms, this is the equivalent of executing ``/the/program 2>&1``).
 
+  .. note::
+
+     Do not set ``redirect_stderr=true`` in an ``[eventlistener:x]`` section.
+     Eventlisteners use ``stdout`` and ``stdin`` to communicate with
+     ``supervisord``.  If ``stderr`` is redirected, output from
+     ``stderr`` will interfere with the eventlistener protocol.
+
   *Default*: false
 
   *Required*:  No.