Permalink
Browse files

reinstantiated logging.cfg (moved to tests/)

so that the tests work again
  • Loading branch information...
1 parent 8fab5f5 commit a254e58d48aedae6e5531a2393491016465f4dc5 Andreas Wundsam committed Jun 6, 2012
Showing with 23 additions and 1 deletion.
  1. +1 −1 setup.cfg
  2. +22 −0 tests/logging.cfg
View
@@ -1,4 +1,4 @@
[nosetests]
; also include executable unit tests
exe=true
-log-config=logging.cfg
+log-config=tests/logging.cfg
View
@@ -0,0 +1,22 @@
+[loggers]
+keys=root
+
+[handlers]
+keys=consoleHandler
+
+[formatters]
+keys=simpleFormatter
+
+[logger_root]
+level=INFO
+handlers=consoleHandler
+
+[handler_consoleHandler]
+class=StreamHandler
+level=DEBUG
+formatter=simpleFormatter
+args=(sys.stdout,)
+
+[formatter_simpleFormatter]
+format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
+datefmt=

0 comments on commit a254e58

Please sign in to comment.