Explorar o código

Add note that redirect_stderr must not be used with eventlisteners

Mike Naberezny %!s(int64=10) %!d(string=hai) anos
pai
achega
861f83016a
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  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.