34 lines
537 B
INI
34 lines
537 B
INI
|
[formatters]
|
||
|
keys=simple
|
||
|
|
||
|
[formatter_simple]
|
||
|
format=%(asctime)s %(levelname)s %(name)s: %(message)s
|
||
|
datefmt=
|
||
|
|
||
|
[handlers]
|
||
|
keys=handler01,handler02
|
||
|
|
||
|
[handler_handler01]
|
||
|
class=handlers.RotatingFileHandler
|
||
|
level=DEBUG
|
||
|
formatter=simple
|
||
|
args=('gnuviechadmin.log', 'a', 10485760, 5)
|
||
|
|
||
|
[handler_handler02]
|
||
|
class=StreamHandler
|
||
|
level=NOTSET
|
||
|
formatter=simple
|
||
|
args=(sys.stdout,)
|
||
|
|
||
|
[loggers]
|
||
|
keys=root,gnuviechadmin
|
||
|
|
||
|
[logger_root]
|
||
|
level=NOTSET
|
||
|
handlers=handler02
|
||
|
|
||
|
[logger_gnuviechadmin]
|
||
|
level=DEBUG
|
||
|
handlers=handler01
|
||
|
propagate=0
|
||
|
qualname=gnuviechadmin
|