logging.ini 575 Bytes
[loggers]
keys=root

[handlers]
keys=fileHandler, consoleHandler

[formatters]
keys=simpleFormaters

[logger_root]
level=DEBUG
handlers=fileHandler, consoleHandler

[handler_fileHandler]
class=logging.handlers.RotatingFileHandler
level=INFO
maxBytes=1000000
backupCount=20
encoding=utf8
formatter=simpleFormaters
args=('../../logs/guitalens.log', 'a')

[handler_consoleHandler]
class=StreamHandler
level=DEBUG
formatter=simpleFormaters
args=(sys.stdout,)

[formatter_simpleFormaters]
format=%(asctime)s - %(module)s:%(name)s:%(lineno)s - %(levelname)s - %(message)s
datefmt=