summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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')