Chris McDonough
2011-07-24 3a80546633185b64390b7779bab459a7e58f22c4
refs
author Chris McDonough <chrism@plope.com>
Sunday, July 24, 2011 08:08 +0200
committer Chris McDonough <chrism@plope.com>
Sunday, July 24, 2011 08:08 +0200
commit3a80546633185b64390b7779bab459a7e58f22c4
tree 8ef6e1be76ff8110783f85fd304dc1608c9f1fc3 tree | zip | gz
parent 695dad38bd13514482ea324ba1196dc5d9bab9f6 view | diff
- The Pyramid debug logger now uses the standard logging configuration
(usually set up by Paste as part of startup). This means that output from
e.g. ``debug_notfound``, ``debug_authorization``, etc. will go to the
normal logging channels. The logger name of the debug logger will be the
package name of the *caller* of the Configurator's constructor.

- If a string is passed as the ``debug_logger`` parameter to a Configurator,
that string is considered to be the name of a global Python logger rather
than a dotted name to an instance of a logger.
2 files deleted
3 files modified
88 ■■■■■ changed files
CHANGES.txt 15 ●●●●● diff | view | raw | blame | history
pyramid/config.py 28 ●●●● diff | view | raw | blame | history
pyramid/log.py 16 ●●●●● diff | view | raw | blame | history
pyramid/tests/test_config.py 13 ●●●● diff | view | raw | blame | history
pyramid/tests/test_log.py 16 ●●●●● diff | view | raw | blame | history