mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Core: demote logfile deletion loglevel to debug
This commit is contained in:
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
|
||||||
|
Reference in New Issue
Block a user