Skip to content

Commit

Permalink
mention manual logging config
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdonc committed Jul 17, 2011
1 parent e0c5c8e commit 7141f0d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/narr/commandline.rst
Expand Up @@ -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')

0 comments on commit 7141f0d

Please sign in to comment.