summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2018-08-18 03:52:16 -0700
committerSteve Piercy <web@stevepiercy.com>2018-08-18 03:52:16 -0700
commit7c1ce4032aaf779f925f54c9544318df59ad70e1 (patch)
tree0c1abf6d6e09b3fc44c8909a6e2c93791d1057b4 /docs
parentafe3b6e3f042a0d6926ba16a4e8c9297b8dbd238 (diff)
downloadpyramid-7c1ce4032aaf779f925f54c9544318df59ad70e1.tar.gz
pyramid-7c1ce4032aaf779f925f54c9544318df59ad70e1.tar.bz2
pyramid-7c1ce4032aaf779f925f54c9544318df59ad70e1.zip
Clean up code-blocks in logging
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/logging.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/logging.rst b/docs/narr/logging.rst
index a7ee0f1f8..d5853873a 100644
--- a/docs/narr/logging.rst
+++ b/docs/narr/logging.rst
@@ -65,7 +65,7 @@ In this logging configuration:
.. code-block:: text
- 2007-08-17 15:04:08,704 INFO [packagename] Loading resource, id: 86
+ 2007-08-17 15:04:08,704 INFO [packagename] Loading resource, id: 86
- a logger named ``myproject`` is configured that logs messages sent at a level
above or equal to ``DEBUG`` to stderr in the same format as the root logger.
@@ -276,7 +276,7 @@ function of your project's ``__init__`` file:
.. code-block:: python
- ...
+ # ...
app = config.make_wsgi_app()
from paste.translogger import TransLogger
app = TransLogger(app, setup_console_handler=False)