Skip to content

Commit

Permalink
reinstantiated logging.cfg (moved to tests/)
Browse files Browse the repository at this point in the history
so that the tests work again
  • Loading branch information
Andreas Wundsam committed Jun 6, 2012
1 parent 8fab5f5 commit a254e58
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[nosetests]
; also include executable unit tests
exe=true
log-config=logging.cfg
log-config=tests/logging.cfg
22 changes: 22 additions & 0 deletions tests/logging.cfg
Original file line number Diff line number Diff line change
@@ -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.