summaryrefslogtreecommitdiff
path: root/docs/narr/commandline.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-07-29 10:01:40 -0400
committerChris McDonough <chrism@plope.com>2012-07-29 10:01:40 -0400
commitd204b348535e4f28df4d59d25aa9b493306d41e5 (patch)
tree8027ef04a07bd0c01f60d347d8fca2ec4d8acc7c /docs/narr/commandline.rst
parentc7fcdf1665cfdc1173559baa0a56d9a06fcba448 (diff)
parent14f9fe44ec75c055d89374a7852e1ca2af0ff31c (diff)
downloadpyramid-d204b348535e4f28df4d59d25aa9b493306d41e5.tar.gz
pyramid-d204b348535e4f28df4d59d25aa9b493306d41e5.tar.bz2
pyramid-d204b348535e4f28df4d59d25aa9b493306d41e5.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