logging: Add milliseconds to log file name

This commit is contained in:
Mykola Grymalyuk
2023-06-02 08:38:17 -06:00
parent e6251da97a
commit 17443b4fbf
3 changed files with 21 additions and 7 deletions
+3 -2
View File
@@ -82,8 +82,9 @@ class GlobalEnviromentSettings:
# delete defaults plist
try:
Path(defaults_path).unlink()
except PermissionError:
logging.info("Permission error: Unable to delete defaults plist")
except Exception as e:
logging.error("Error: Unable to delete defaults plist")
logging.error(e)
def _fix_file_permission(self) -> None: