Core: demote logfile deletion loglevel to debug
This commit is contained in:
parent
fb47483212
commit
032bc75070
2
Utils.py
2
Utils.py
|
@ -505,7 +505,7 @@ def init_logging(name: str, loglevel: typing.Union[str, int] = logging.INFO, wri
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.exception(e)
|
logging.exception(e)
|
||||||
else:
|
else:
|
||||||
logging.info(f"Deleted old logfile {file.path}")
|
logging.debug(f"Deleted old logfile {file.path}")
|
||||||
import threading
|
import threading
|
||||||
threading.Thread(target=_cleanup, name="LogCleaner").start()
|
threading.Thread(target=_cleanup, name="LogCleaner").start()
|
||||||
import platform
|
import platform
|
||||||
|
|
Loading…
Reference in New Issue