diff --git a/docs/source/settings.rst b/docs/source/settings.rst index 49bf58d4..12fea6ca 100644 --- a/docs/source/settings.rst +++ b/docs/source/settings.rst @@ -609,6 +609,18 @@ The Access log file to write to. ``'-'`` means log to stdout. +.. _disable-redirect-access-to-syslog: + +disable-redirect-access-to-syslog +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +* ``--disable-redirect-access-to-syslog`` +* ``False`` + +Disable redirect access logs to syslog. + +.. versionadded:: 19.8 + .. _access-log-format: access_log_format @@ -746,6 +758,11 @@ syslog Send *Gunicorn* logs to syslog. +.. versionchanged:: 19.8 + + You can now disable sending access logs by using the + :ref:`disable-redirect-access-to-syslog` setting. + .. _syslog-prefix: syslog_prefix