Permalink
Browse files

add logging config to test so that there are no spurious handler mess…

…ages
  • Loading branch information...
storborg committed Nov 8, 2009
1 parent 18e5d53 commit c71777cf6aad82837ae5f1b6bdef8f34a5b5ec44
Showing with 22 additions and 0 deletions.
  1. +22 −0 test.ini
View
@@ -26,3 +26,25 @@ fake_username = root
testing = true
sqlalchemy.url = sqlite://
+
+[loggers]
+keys = root
+
+[handlers]
+keys = console
+
+[formatters]
+keys = generic
+
+[logger_root]
+level = CRITICAL
+handlers = console
+
+[handler_console]
+class = StreamHandler
+args = (sys.stderr,)
+level = NOTSET
+formatter = generic
+
+[formatter_generic]
+format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s

0 comments on commit c71777c

Please sign in to comment.