diff options
| author | Karl O. Pinc <kop@meme.com> | 2018-11-24 01:13:47 -0600 |
|---|---|---|
| committer | Karl O. Pinc <kop@meme.com> | 2018-11-24 01:13:47 -0600 |
| commit | 27c82826d669e4b381328643f84ccfff5bcba16e (patch) | |
| tree | f65267307f71e4707ad535aaa8ac6c9db34622d1 /docs/narr/logging.rst | |
| parent | bc17531c1eb67f2a5eb31b966f2ede63d767b803 (diff) | |
| download | pyramid-27c82826d669e4b381328643f84ccfff5bcba16e.tar.gz pyramid-27c82826d669e4b381328643f84ccfff5bcba16e.tar.bz2 pyramid-27c82826d669e4b381328643f84ccfff5bcba16e.zip | |
Add index entries for logging initialization
Diffstat (limited to 'docs/narr/logging.rst')
| -rw-r--r-- | docs/narr/logging.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/narr/logging.rst b/docs/narr/logging.rst index b12434317..8ae8469de 100644 --- a/docs/narr/logging.rst +++ b/docs/narr/logging.rst @@ -40,6 +40,9 @@ format <ConfigParser>`. This is the same format used as the Python The application-related and logging-related sections in the configuration file can coexist peacefully. The logging-related sections in the file configure logging when you run ``pserve``. +.. index:: + pair: logging; startup + On :ref:`startup <the_startup_process>` the ``pserve`` command :ref:`configures logging <startup_logging_initialization>` using the ``.ini`` file given to it. If the ``.ini`` file contains a ``[loggers]`` section (all of the cookiecutter-generated ``.ini`` files do) ``pserve`` calls the :func:`pyramid.paster.setup_logging` function. The :func:`setup_logging` function is a thin wrapper around the :func:`logging.config.fileConfig`. |
