Jan Dittberner
b183465d5e
* add logging.config.fileConfig in gnuviechadmin/tests/__init__.py * provide default logging configuration in test.ini git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@259 a67ec6bc-e5d5-0310-a910-815c51eb3124
29 lines
471 B
INI
29 lines
471 B
INI
# Logging configuration
|
|
[loggers]
|
|
keys = root, gnuviechadmin
|
|
|
|
[handlers]
|
|
keys = console
|
|
|
|
[formatters]
|
|
keys = generic
|
|
|
|
[logger_root]
|
|
level = INFO
|
|
handlers = console
|
|
|
|
[logger_gnuviechadmin]
|
|
level = DEBUG
|
|
handlers = console
|
|
propagate = 0
|
|
qualname = gnuviechadmin
|
|
|
|
[handler_console]
|
|
class = StreamHandler
|
|
args = (sys.stderr,)
|
|
level = NOTSET
|
|
formatter = generic
|
|
|
|
[formatter_generic]
|
|
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
|
|
datefmt = %H:%M:%S
|