Increase file log level to debug.

Fixes https://github.com/Khopa/dcs_liberation/issues/907
This commit is contained in:
Dan Albert 2021-02-20 15:38:52 -08:00
parent 6195290adf
commit 03e98ba562

View File

@ -14,7 +14,7 @@ def init_logging(version: str) -> None:
logger = logging.getLogger()
handler = RotatingFileHandler("./logs/liberation.log", "a", 5000000, 1)
handler.setLevel(logging.INFO)
handler.setLevel(logging.DEBUG)
handler.setFormatter(logging.Formatter(fmt))
logger.addHandler(handler)