From 5050f2719ae53a01c15a91f1b322477dff3b89ed Mon Sep 17 00:00:00 2001 From: Randall Leeds Date: Sat, 28 Apr 2018 00:46:05 -0700 Subject: [PATCH] Regenerate settings documentation --- docs/source/settings.rst | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/docs/source/settings.rst b/docs/source/settings.rst index 8ca995e0..8a1aeabf 100644 --- a/docs/source/settings.rst +++ b/docs/source/settings.rst @@ -451,7 +451,7 @@ chdir ~~~~~ * ``--chdir`` -* ``/Users/benoitc/work/gunicorn/py27/gunicorn/docs`` +* ``/usr/src/app`` Chdir to specified directory before apps loading. @@ -764,6 +764,23 @@ The log config file to use. Gunicorn uses the standard Python logging module's Configuration file format. +.. _logconfig-dict: + +logconfig_dict +~~~~~~~~~~~~~~ + +* ``--log-config-dict`` +* ``{}`` + +The log config dictionary to use, using the standard Python +logging module's dictionary configuration format. This option +takes precedence over the :ref:`logconfig` option, which uses the +older file configuration format. + +Format: https://docs.python.org/3/library/logging.config.html#logging.config.dictConfig + +.. versionadded:: 19.8 + .. _syslog-addr: syslog_addr @@ -1220,7 +1237,7 @@ ssl_version ~~~~~~~~~~~ * ``--ssl-version`` -* ``3`` +* ``_SSLMethod.PROTOCOL_TLS`` SSL version to use (see stdlib ssl module's) @@ -1234,7 +1251,7 @@ cert_reqs ~~~~~~~~~ * ``--cert-reqs`` -* ``0`` +* ``VerifyMode.CERT_NONE`` Whether client certificate is required (see stdlib ssl module's)