summaryrefslogtreecommitdiff
path: root/docs/narr/commandline.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/narr/commandline.rst')
-rw-r--r--docs/narr/commandline.rst10
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/narr/commandline.rst b/docs/narr/commandline.rst
index 0f23c153c..b1a646aec 100644
--- a/docs/narr/commandline.rst
+++ b/docs/narr/commandline.rst
@@ -466,9 +466,14 @@ example above looks like so:
.. code-block:: ini
[pipeline:main]
- pipeline = egg:WebError#evalerror
+ pipeline = translogger
another
+ [filter:translogger]
+ filter_app_factory = egg:Paste#translogger
+ setup_console_handler = False
+ logger_name = wsgi
+
[app:another]
use = egg:MyProject
@@ -477,7 +482,8 @@ configuration implied by the ``[pipeline:main]`` section of your
configuration file by default. Specifying ``/path/to/my/development.ini`` is
logically equivalent to specifying ``/path/to/my/development.ini#main``. In
this case, we'll be using a configuration that includes an ``app`` object
-which is wrapped in the WebError ``evalerror`` middleware.
+which is wrapped in the Paste "translogger" middleware (which logs requests
+to the console).
You can also specify a particular *section* of the PasteDeploy ``.ini`` file
to load instead of ``main``: