fixes logging

pull/402/head
sgaebel 4 years ago
parent 13e42c2dd2
commit b8d264f7ec

@ -171,8 +171,9 @@ public final class yacy {
} catch (IOException ex) { }
// setting up logging
f = new File(dataHome, "DATA/LOG/yacy.logging");
f = new File(dataHome, "DATA/LOG/");
mkdirsIfNeseccary(f);
f = new File(f, "yacy.logging");
final File f0 = new File(appHome, "defaults/yacy.logging");
if (!f.exists() || f0.lastModified() > f.lastModified()) try {
Files.copy(f0, f);

Loading…
Cancel
Save