summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2013-02-16 21:50:53 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2013-03-05 01:54:47 +0200
commit32c508a8d8870e877dd6d98e717e55b56457de8a (patch)
tree1bf62e3539bf1d13c8bb34f213774ed790f56a40 /docs
parent44b651726b030c106aa5d2ff6ecdd5ba47f6c662 (diff)
downloadpyramid-32c508a8d8870e877dd6d98e717e55b56457de8a.tar.gz
pyramid-32c508a8d8870e877dd6d98e717e55b56457de8a.tar.bz2
pyramid-32c508a8d8870e877dd6d98e717e55b56457de8a.zip
use cross-references to fix some links
Also fix grammar, and add a bit of consistency regarding formatting.
Diffstat (limited to 'docs')
-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 f4d1d051d..bef9d119c 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.