From 28d5c1c17f683a69345ddfe2a27b5c5aa2668d5a Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Sat, 24 Nov 2018 00:15:12 -0600 Subject: Improve sentence --- docs/narr/logging.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/narr/logging.rst b/docs/narr/logging.rst index ad63b218f..408c8fc7c 100644 --- a/docs/narr/logging.rst +++ b/docs/narr/logging.rst @@ -43,8 +43,8 @@ The logging-related sections in the file configure logging when you run ``pserve The ``pserve`` command calls the :func:`pyramid.paster.setup_logging` function, a thin wrapper around the :func:`logging.config.fileConfig` using the specified ``.ini`` file, if it contains a ``[loggers]`` section (all of the -cookiecutter-generated ``.ini`` files do). ``setup_logging`` reads the logging -configuration from the ini file upon which ``pserve`` was invoked. +cookiecutter-generated ``.ini`` files do). +``setup_logging`` reads the logging configuration from the ``ini`` file given on the ``pserve`` command line. Default logging configuration is provided in both the default ``development.ini`` and the ``production.ini`` files. If you use our cookiecutter to generate a Pyramid project with the name of the package as ``hello_world``, then the logging configuration -- cgit v1.2.3