Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdonc committed Oct 11, 2012
1 parent a6c891c commit de5d238
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -306,14 +306,14 @@ Explicit "Tween" Configuration

Note that the exception logger is implemented as a Pyramid :term:`tween`, and
it can be used in the explicit tween chain if its implicit position in the
tween chain is incorrect (see the output of ``paster ptweens``)::
tween chain is incorrect (see the output of ``ptweens``)::

[app:myapp]
pyramid.tweens = someothertween
pyramid.tweens.excview_tween_factory
pyramid_exclog.exclog_tween_factory

It usually belongs directly above the "MAIN" entry in the ``paster ptweens``
It usually belongs directly above the "MAIN" entry in the ``ptweens``
output, and will attempt to sort there by default as the result of having
``include('pyramid_exclog')`` invoked.

Expand All @@ -323,8 +323,8 @@ to log only exceptions that are not caught by an exception view.
Deployment under mod_wsgi
-------------------------

To make logging facilities available when loading an application via
mod_wsgi, like it behaves with paster, you must call the logging.fileConfig
To make logging facilities available when loading an application via
mod_wsgi, like it behaves with pserve, you must call the logging.fileConfig
function on the ini file containing the logger entry.

Here's an example of a run.wsgi file:
Expand Down

0 comments on commit de5d238

Please sign in to comment.