From 4c920d05b5cd50b1357d40e20633a5f8163bbc27 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Tue, 29 Dec 2020 20:19:58 +0100 Subject: [PATCH] removed superfluous lines --- source/net/yacy/yacy.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/net/yacy/yacy.java b/source/net/yacy/yacy.java index c2f952637..ebcd71d11 100644 --- a/source/net/yacy/yacy.java +++ b/source/net/yacy/yacy.java @@ -171,14 +171,13 @@ public final class yacy { } catch (IOException ex) { } // setting up logging - f = new File(dataHome, "DATA/LOG/"); - mkdirsIfNeseccary(f); f = new File(dataHome, "DATA/LOG/yacy.logging"); + mkdirsIfNeseccary(f); final File f0 = new File(appHome, "defaults/yacy.logging"); if (!f.exists() || f0.lastModified() > f.lastModified()) try { Files.copy(f0, f); } catch (final IOException e){ - System.out.println("could not copy yacy.logging"); + System.out.println("could not copy yacy.logging: " + e.getMessage()); } try{ ConcurrentLog.configureLogging(dataHome, new File(dataHome, "DATA/LOG/yacy.logging"));