Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*)fixed paths to yacy.logging

hydrox53077f583514
diff --git a/source/yacy.java b/source/yacy.java
index f7a53121a..d2b619915 100644
--- a/source/yacy.java
+++ b/source/yacy.java
@@ -659,7 +659,7 @@ public final class yacy {
*/
public static void migrateWords(String homePath) {
// run with "java -classpath classes yacy -migratewords"
- try {serverLog.configureLogging(new File(homePath, "yacy.logging"));} catch (Exception e) {}
+ try {serverLog.configureLogging(new File(homePath, "DATA/LOG/yacy.logging"));} catch (Exception e) {}
File dbroot = new File(new File(homePath), "DATA/PLASMADB");
serverLog log = new serverLog("WORDMIGRATION");
log.logInfo("STARTING MIGRATION");
@@ -699,7 +699,7 @@ public final class yacy {
*/
public static void minimizeUrlDB(String homePath, int dbcache) {
// run with "java -classpath classes yacy -minimizeUrlDB"
- try {serverLog.configureLogging(new File(homePath, "yacy.logging"));} catch (Exception e) {}
+ try {serverLog.configureLogging(new File(homePath, "DATA/LOG/yacy.logging"));} catch (Exception e) {}
File dbroot = new File(new File(homePath), "DATA/PLASMADB");
serverLog log = new serverLog("URL-CLEANUP");
try {
@@ -1071,7 +1071,7 @@ public final class yacy {
serverLog log = new serverLog("HASHLIST");
File homeDBroot = new File(new File(homePath), "DATA/PLASMADB");
String wordChunkStartHash = "------------";
- try {serverLog.configureLogging(new File(homePath, "yacy.logging"));} catch (Exception e) {}
+ try {serverLog.configureLogging(new File(homePath, "DATA/LOG/yacy.logging"));} catch (Exception e) {}
log.logInfo("STARTING CREATION OF RWI-HASHLIST");
File root = new File(homePath);
try {