Core: demote logfile deletion loglevel to debug

This commit is contained in:
Fabian Dill
2023-01-23 02:23:16 +01:00
parent fb47483212
commit 032bc75070

View File

@@ -505,7 +505,7 @@ def init_logging(name: str, loglevel: typing.Union[str, int] = logging.INFO, wri
except Exception as e:
logging.exception(e)
else:
logging.info(f"Deleted old logfile {file.path}")
logging.debug(f"Deleted old logfile {file.path}")
import threading
threading.Thread(target=_cleanup, name="LogCleaner").start()
import platform