git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6a8426
)
JAL-3628 JAL-3708 call Cache.initLogger() before using Cache.log in static methods...
author
Jim Procter
<jprocter@issues.jalview.org>
Mon, 10 Aug 2020 14:01:23 +0000
(15:01 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Mon, 10 Aug 2020 14:01:23 +0000
(15:01 +0100)
src/jalview/io/BackupFiles.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/BackupFiles.java
b/src/jalview/io/BackupFiles.java
index
e943b23
..
818603c
100644
(file)
--- a/
src/jalview/io/BackupFiles.java
+++ b/
src/jalview/io/BackupFiles.java
@@
-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());