summaryrefslogtreecommitdiff
path: root/docs/narr/logging.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2013-03-12 13:53:14 -0700
committerMichael Merickel <michael@merickel.org>2013-03-12 13:53:14 -0700
commit38ba7f4135c83872d661ea67ea6c7e98700b2e62 (patch)
tree5a09dcd98fe75b47c120d5eadf1dc1d5b46fb2a1 /docs/narr/logging.rst
parent5fb6de8426aeaca7ecfd5babb7ba0372dbeab020 (diff)
parent2d29f10e02d239745d04bf765b1c33f533c3c9b5 (diff)
downloadpyramid-38ba7f4135c83872d661ea67ea6c7e98700b2e62.tar.gz
pyramid-38ba7f4135c83872d661ea67ea6c7e98700b2e62.tar.bz2
pyramid-38ba7f4135c83872d661ea67ea6c7e98700b2e62.zip
Merge pull request #885 from tshepang/hyperlinks
fix/update hyperlinks
Diffstat (limited to 'docs/narr/logging.rst')
-rw-r--r--docs/narr/logging.rst16
1 files changed, 7 insertions, 9 deletions
diff --git a/docs/narr/logging.rst b/docs/narr/logging.rst
index 04a9c40f5..3b903be4d 100644
--- a/docs/narr/logging.rst
+++ b/docs/narr/logging.rst
@@ -28,19 +28,17 @@ application. In particular, the :term:`PasteDeploy` ``development.ini`` and
``production.ini`` files created when you use a scaffold include a basic
configuration for the Python :mod:`logging` package.
-PasteDeploy ``.ini`` files use the Python standard library `ConfigParser
-format <http://docs.python.org/lib/module-ConfigParser.html>`_; this the same
-format used as the Python `logging module's Configuration file format
-<http://docs.python.org/lib/logging-config-fileformat.html>`_. The
-application-related and logging-related sections in the configuration file
+PasteDeploy ``.ini`` files use the Python standard library :mod:`ConfigParser
+format <ConfigParser>`; this is the same format used as the Python
+:ref:`logging module's Configuration file format <logging-config-fileformat>`.
+The application-related and logging-related sections in the configuration file
can coexist peacefully, and the logging-related sections in the file are used
from when you run ``pserve``.
The ``pserve`` command calls the :func:`pyramid.paster.setup_logging`
-function, a thin wrapper around the `logging.fileConfig
-<http://docs.python.org/lib/logging-config-api.html>`_ using the specified
-ini file if it contains a ``[loggers]`` section (all of the
-scaffold-generated ``.ini`` files do). ``setup_logging`` reads the
+function, a thin wrapper around the :func:`logging.config.fileConfig`
+using the specified ``.ini`` file if it contains a ``[loggers]`` section
+(all of the scaffold-generated ``.ini`` files do). ``setup_logging`` reads the
logging configuration from the ini file upon which ``pserve`` was
invoked.