浏览代码

Add note that redirect_stderr must not be used with eventlisteners

Mike Naberezny 10 年之前
父节点
当前提交
861f83016a
共有 1 个文件被更改,包括 7 次插入0 次删除
  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.