summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-07-16 20:25:49 -0400
committerChris McDonough <chrism@plope.com>2011-07-16 20:25:49 -0400
commit7141f0dfc4b77817017a530cfd2dbb62b4836332 (patch)
tree0cf7edd1b0f9538a4bcbb05ef40626405f560dd1
parente0c5c8eb14ccd916fd49199a96f8e9095e0fb9f0 (diff)
downloadpyramid-7141f0dfc4b77817017a530cfd2dbb62b4836332.tar.gz
pyramid-7141f0dfc4b77817017a530cfd2dbb62b4836332.tar.bz2
pyramid-7141f0dfc4b77817017a530cfd2dbb62b4836332.zip
mention manual logging config
-rw-r--r--docs/narr/commandline.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/narr/commandline.rst b/docs/narr/commandline.rst
index 30e678f07..890f42c42 100644
--- a/docs/narr/commandline.rst
+++ b/docs/narr/commandline.rst
@@ -447,3 +447,15 @@ call the ``closer`` callback:
env['closer']()
+Setting Up Logging
+~~~~~~~~~~~~~~~~~~
+
+By default, :func:`pyramid.paster.bootstrap` does not configure logging
+parameters present in the configuration file. If you'd like to configure
+logging based on ``[logger]`` and related sections in the configuration file,
+use the following command:
+
+.. code-block:: python
+
+ import logging
+ logging.fileConfig('/path/to/my/development.ini')