summaryrefslogtreecommitdiff
path: root/docs/narr/commandline.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2012-06-12 11:18:37 -0500
committerMichael Merickel <michael@merickel.org>2012-06-12 11:18:37 -0500
commit0487d5e05dd61d6d7482212d40fb5884e06f582a (patch)
tree0ebcedbf0a5a2c380dd620de7d08f7e777a765ba /docs/narr/commandline.rst
parentc7fcdf1665cfdc1173559baa0a56d9a06fcba448 (diff)
downloadpyramid-0487d5e05dd61d6d7482212d40fb5884e06f582a.tar.gz
pyramid-0487d5e05dd61d6d7482212d40fb5884e06f582a.tar.bz2
pyramid-0487d5e05dd61d6d7482212d40fb5884e06f582a.zip
docs reference setup_logging instead of fileConfig
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