summaryrefslogtreecommitdiff
path: root/docs/narr/commandline.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-06-17 10:00:44 -0400
committerChris McDonough <chrism@plope.com>2012-06-17 10:00:44 -0400
commit5276e011565b24c5ff9bf76577166e08a01cbf03 (patch)
treeceb2ef21bc644ccce72d82a0799f68c260534f52 /docs/narr/commandline.rst
parentc7fcdf1665cfdc1173559baa0a56d9a06fcba448 (diff)
parenteb3c87230402201669501d5889d43634b785a9ed (diff)
downloadpyramid-5276e011565b24c5ff9bf76577166e08a01cbf03.tar.gz
pyramid-5276e011565b24c5ff9bf76577166e08a01cbf03.tar.bz2
pyramid-5276e011565b24c5ff9bf76577166e08a01cbf03.zip
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs/narr/commandline.rst')
-rw-r--r--docs/narr/commandline.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/narr/commandline.rst b/docs/narr/commandline.rst
index 4be436836..af53c1f78 100644
--- a/docs/narr/commandline.rst
+++ b/docs/narr/commandline.rst
@@ -654,8 +654,11 @@ use the following command:
.. code-block:: python
- import logging.config
- logging.config.fileConfig('/path/to/my/development.ini')
+ import pyramid.paster
+ pyramid.paster.setup_logging('/path/to/my/development.ini')
+
+See :ref:`logging_chapter` for more information on logging within
+:app:`Pyramid`.
.. index::
single: console script