fpdb/pyfpdb/logging.conf

58 lines
958 B
Plaintext
Raw Normal View History

2009-08-09 21:03:43 +02:00
[loggers]
2009-08-12 02:46:39 +02:00
keys=root,parser,importer,config,db
2009-08-09 21:03:43 +02:00
[handlers]
keys=consoleHandler,fileHandler
[formatters]
keys=fileFormatter,stderrFormatter
[logger_root]
level=INFO
handlers=consoleHandler,fileHandler
[logger_parser]
level=INFO
handlers=consoleHandler,fileHandler
qualname=parser
propagate=0
2009-08-12 02:46:39 +02:00
[logger_importer]
level=DEBUG
handlers=consoleHandler,fileHandler
qualname=importer
propagate=0
[logger_config]
level=DEBUG
handlers=consoleHandler,fileHandler
qualname=config
propagate=0
[logger_db]
level=DEBUG
handlers=consoleHandler,fileHandler
qualname=db
propagate=0
2009-08-09 21:03:43 +02:00
[handler_consoleHandler]
class=StreamHandler
2009-08-12 02:46:39 +02:00
level=DEBUG
2009-08-09 21:03:43 +02:00
formatter=stderrFormatter
args=(sys.stderr,)
[handler_fileHandler]
class=FileHandler
2009-08-12 02:46:39 +02:00
level=DEBUG
2009-08-09 21:03:43 +02:00
formatter=fileFormatter
args=('logging.out', 'a')
[formatter_fileFormatter]
format=%(asctime)s - %(name)-12s %(levelname)-8s %(message)s
datefmt=
[formatter_stderrFormatter]
format=%(name)-12s: %(levelname)-8s %(message)s
datefmt=