diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/logging.rst | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
