Merge branch 'releases/Release_2_11_1_Branch' into patch/JAL-3691_No_score_models_ava...
[jalview.git] / src / jalview / io / BackupFiles.java
index e943b23..818603c 100644 (file)
@@ -163,6 +163,7 @@ public class BackupFiles
 
   public static void classInit()
   {
+    Cache.initLogger();
     Cache.log.debug("BACKUPFILES classInit");
     boolean e = Cache.getDefault(ENABLED, true);
     setEnabled(e);
@@ -895,6 +896,7 @@ public class BackupFiles
 
   public static boolean moveFileToFile(File oldFile, File newFile)
   {
+    Cache.initLogger();
     boolean ret = false;
     Path oldPath = Paths.get(oldFile.getAbsolutePath());
     Path newPath = Paths.get(newFile.getAbsolutePath());