Skip to content

Commit

Permalink
Adding additional routes logging.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
bbangert committed Aug 5, 2008
1 parent 33cbc46 commit 11735e3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pylons/templates/default_project/development.ini_tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ sqlalchemy.url = sqlite:///%(here)s/development.db

# Logging configuration
[loggers]
keys = root, {{package_logger}}{{if sqlalchemy}}, sqlalchemy{{endif}}
keys = root, routes, {{package_logger}}{{if sqlalchemy}}, sqlalchemy{{endif}}

[handlers]
keys = console
Expand All @@ -55,6 +55,12 @@ keys = generic
level = INFO
handlers = console

[logger_routes]
level = INFO
handlers =
qualname = routes.middleware
# "level = DEBUG" logs the route matched and routing variables.

[logger_{{package_logger}}]
level = DEBUG
handlers =
Expand Down

0 comments on commit 11735e3

Please sign in to comment.