summaryrefslogtreecommitdiff
path: root/docs/narr/commandline.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-08-13 01:00:39 -0400
committerChris McDonough <chrism@plope.com>2011-08-13 01:00:39 -0400
commit391402e63c1257ede0069f220ed5a1cca1b94a9b (patch)
tree014d867eff43e5f18b1723ce7d846c87c1c2e202 /docs/narr/commandline.rst
parentdd25a5afd44d3fdc89782d232dfe818245e496cd (diff)
downloadpyramid-391402e63c1257ede0069f220ed5a1cca1b94a9b.tar.gz
pyramid-391402e63c1257ede0069f220ed5a1cca1b94a9b.tar.bz2
pyramid-391402e63c1257ede0069f220ed5a1cca1b94a9b.zip
- Projects created via a scaffold no longer depend on the ``WebError``
package at all; configuration in the ``production.ini`` file which used to require its ``error_catcher`` middleware has been removed. Configuring error catching / email sending is now the domain of the ``pyramid_exclog`` package (see https://docs.pylonsproject.org/projects/pyramid_exclog/dev/).
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``: