]> asedeno.scripts.mit.edu Git - bluechips.git/commitdiff
add logging config to test so that there are no spurious handler messages
authorScott Torborg <scott@crookedmedia.com>
Sun, 8 Nov 2009 23:43:44 +0000 (15:43 -0800)
committerScott Torborg <scott@crookedmedia.com>
Sun, 8 Nov 2009 23:43:44 +0000 (15:43 -0800)
test.ini

index 478036013216e0ef850c16b1c38198a815f72af0..65450fc5c8406046b489dce9c574e84382369868 100644 (file)
--- a/test.ini
+++ b/test.ini
@@ -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