2009-08-09 21:03:43 +02:00
|
|
|
[loggers]
|
2010-01-31 12:25:24 +01:00
|
|
|
keys=root,fpdb,logview,parser,importer,config,db,hud
|
2009-08-09 21:03:43 +02:00
|
|
|
|
|
|
|
[handlers]
|
2010-01-31 12:25:24 +01:00
|
|
|
keys=consoleHandler,rotatingFileHandler
|
2009-08-09 21:03:43 +02:00
|
|
|
|
|
|
|
[formatters]
|
|
|
|
keys=fileFormatter,stderrFormatter
|
|
|
|
|
|
|
|
[logger_root]
|
|
|
|
level=INFO
|
2010-01-31 12:25:24 +01:00
|
|
|
handlers=consoleHandler,rotatingFileHandler
|
2009-08-09 21:03:43 +02:00
|
|
|
|
2009-12-05 16:54:49 +01:00
|
|
|
[logger_fpdb]
|
|
|
|
level=INFO
|
2010-01-31 12:25:24 +01:00
|
|
|
handlers=consoleHandler,rotatingFileHandler
|
2009-12-05 16:54:49 +01:00
|
|
|
qualname=fpdb
|
|
|
|
propagate=0
|
|
|
|
|
|
|
|
[logger_logview]
|
|
|
|
level=INFO
|
2010-01-31 12:25:24 +01:00
|
|
|
handlers=consoleHandler,rotatingFileHandler
|
2009-12-05 16:54:49 +01:00
|
|
|
qualname=logview
|
|
|
|
propagate=0
|
|
|
|
|
2009-08-09 21:03:43 +02:00
|
|
|
[logger_parser]
|
|
|
|
level=INFO
|
2010-01-31 12:25:24 +01:00
|
|
|
handlers=consoleHandler,rotatingFileHandler
|
2009-08-09 21:03:43 +02:00
|
|
|
qualname=parser
|
|
|
|
propagate=0
|
|
|
|
|
2009-08-12 02:46:39 +02:00
|
|
|
[logger_importer]
|
|
|
|
level=DEBUG
|
2010-01-31 12:25:24 +01:00
|
|
|
handlers=consoleHandler,rotatingFileHandler
|
2009-08-12 02:46:39 +02:00
|
|
|
qualname=importer
|
|
|
|
propagate=0
|
|
|
|
|
|
|
|
[logger_config]
|
2009-12-05 16:54:49 +01:00
|
|
|
level=INFO
|
2010-01-31 12:25:24 +01:00
|
|
|
handlers=consoleHandler,rotatingFileHandler
|
2009-08-12 02:46:39 +02:00
|
|
|
qualname=config
|
|
|
|
propagate=0
|
|
|
|
|
|
|
|
[logger_db]
|
|
|
|
level=DEBUG
|
2010-01-31 12:25:24 +01:00
|
|
|
handlers=consoleHandler,rotatingFileHandler
|
2009-08-12 02:46:39 +02:00
|
|
|
qualname=db
|
|
|
|
propagate=0
|
|
|
|
|
2010-01-31 12:25:24 +01:00
|
|
|
[logger_hud]
|
|
|
|
level=DEBUG
|
|
|
|
handlers=consoleHandler,rotatingFileHandler
|
|
|
|
qualname=hud
|
|
|
|
propagate=0
|
|
|
|
|
2009-08-09 21:03:43 +02:00
|
|
|
[handler_consoleHandler]
|
|
|
|
class=StreamHandler
|
2009-09-03 23:40:06 +02:00
|
|
|
level=ERROR
|
2009-08-09 21:03:43 +02:00
|
|
|
formatter=stderrFormatter
|
|
|
|
args=(sys.stderr,)
|
|
|
|
|
2010-01-31 12:25:24 +01:00
|
|
|
[handler_rotatingFileHandler]
|
|
|
|
class=handlers.RotatingFileHandler
|
2009-08-12 02:46:39 +02:00
|
|
|
level=DEBUG
|
2009-08-09 21:03:43 +02:00
|
|
|
formatter=fileFormatter
|
2010-01-31 12:25:24 +01:00
|
|
|
args=('%(logFile)s', 'a', 50000, 5)
|
2009-08-09 21:03:43 +02:00
|
|
|
|
|
|
|
[formatter_fileFormatter]
|
|
|
|
format=%(asctime)s - %(name)-12s %(levelname)-8s %(message)s
|
|
|
|
datefmt=
|
|
|
|
|
|
|
|
[formatter_stderrFormatter]
|
|
|
|
format=%(name)-12s: %(levelname)-8s %(message)s
|
|
|
|
datefmt=
|