Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fixed logging
danielr726218dd4a36
diff --git a/source/yacy.java b/source/yacy.javaindex 6716d994a..2f8b57d12 100644--- a/source/yacy.java+++ b/source/yacy.java@@ -199,7 +199,8 @@ public final class yacy {// setting up loggingf = new File(homePath, "DATA/LOG/yacy.logging");- if (!(new File(f.getPath()).exists())) f.mkdirs();+ final File logPath =new File(f.getPath());+ if (!logPath.exists()) logPath.mkdirs();if (!f.exists()) try {serverFileUtils.copy(new File(homePath, "yacy.logging"), f);}catch (IOException e){