Skip to content
Permalink
Browse files

Add a note about special files like /dev/stdout

References #935
References #1224
  • Loading branch information...
mnaberez committed Apr 9, 2019
1 parent ce26675 commit 14723886ec9507541f84e08c123d130dd33d75cc
Showing with 18 additions and 0 deletions.
  1. +18 −0 docs/configuration.rst
@@ -227,6 +227,12 @@ follows.
option can include the value ``%(here)s``, which expands to the
directory in which the supervisord configuration file was found.

.. note::

If ``logfile`` is set to a special file like ``/dev/stdout`` that is
not seekable, log rotation must be disabled by setting
``logfile_maxbytes = 0``.

*Default*: :file:`$CWD/supervisord.log`

*Required*: No.
@@ -876,6 +882,12 @@ where specified.
(``stdout_logfile``) when rotation (``stdout_logfile_maxbytes``)
is enabled. This will result in the file being corrupted.

.. note::

If ``stdout_logfile`` is set to a special file like ``/dev/stdout``
that is not seekable, log rotation must be disabled by setting
``stdout_logfile_maxbytes = 0``.

*Default*: ``AUTO``

*Required*: No.
@@ -955,6 +967,12 @@ where specified.
(``stderr_logfile``) when rotation (``stderr_logfile_maxbytes``)
is enabled. This will result in the file being corrupted.

.. note::

If ``stderr_logfile`` is set to a special file like ``/dev/stderr``
that is not seekable, log rotation must be disabled by setting
``stderr_logfile_maxbytes = 0``.

*Default*: ``AUTO``

*Required*: No.

0 comments on commit 1472388

Please sign in to comment.
You can’t perform that action at this time.