fpdb/pyfpdb/logging.conf

75 lines
1.3 KiB
Plaintext
Raw Normal View History

2009-08-09 21:03:43 +02:00
[loggers]
keys=root,fpdb,logview,parser,importer,config,db,hud
2009-08-09 21:03:43 +02:00
[handlers]
keys=consoleHandler,rotatingFileHandler
2009-08-09 21:03:43 +02:00
[formatters]
keys=fileFormatter,stderrFormatter
[logger_root]
level=INFO
handlers=consoleHandler,rotatingFileHandler
2009-08-09 21:03:43 +02:00
2009-12-05 16:54:49 +01:00
[logger_fpdb]
level=INFO
handlers=consoleHandler,rotatingFileHandler
2009-12-05 16:54:49 +01:00
qualname=fpdb
propagate=0
[logger_logview]
level=INFO
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
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
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
handlers=consoleHandler,rotatingFileHandler
2009-08-12 02:46:39 +02:00
qualname=config
propagate=0
[logger_db]
level=DEBUG
handlers=consoleHandler,rotatingFileHandler
2009-08-12 02:46:39 +02:00
qualname=db
propagate=0
[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,)
[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
args=('%(logFile)s', 'a', 100000000, 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=