Increase logfile size

This commit is contained in:
Matthias 2020-08-14 20:00:09 +02:00
parent 251eb5aa96
commit cdfcdb86c9

View File

@ -92,7 +92,7 @@ def setup_logging(config: Dict[str, Any]) -> None:
logging.root.addHandler(handler) logging.root.addHandler(handler)
else: else:
handler = RotatingFileHandler(logfile, handler = RotatingFileHandler(logfile,
maxBytes=1024 * 1024, # 1Mb maxBytes=1024 * 1024 * 10, # 10Mb
backupCount=10) backupCount=10)
handler.setFormatter(Formatter(LOGFORMAT)) handler.setFormatter(Formatter(LOGFORMAT))
logging.root.addHandler(handler) logging.root.addHandler(handler)