diff --git a/source/de/anomic/http/httpdProxyHandler.java b/source/de/anomic/http/httpdProxyHandler.java index 130f2dacf..38ac12596 100644 --- a/source/de/anomic/http/httpdProxyHandler.java +++ b/source/de/anomic/http/httpdProxyHandler.java @@ -139,7 +139,7 @@ public final class httpdProxyHandler extends httpdAbstractHandler implements htt // reading out some needed configuration properties int limit = 1024*1024, count = 20; String pattern = manager.getProperty(className + ".logging.FileHandler.pattern"); - if (pattern == null) pattern = "log/proxyAccess%u%g.log"; + if (pattern == null) pattern = "DATA/LOG/proxyAccess%u%g.log"; String limitStr = manager.getProperty(className + ".logging.FileHandler.limit"); if (limitStr != null) try { limit = Integer.valueOf(limitStr).intValue(); } catch (NumberFormatException e) {} diff --git a/source/de/anomic/server/logging/serverLog.java b/source/de/anomic/server/logging/serverLog.java index bac496c79..5adef6476 100644 --- a/source/de/anomic/server/logging/serverLog.java +++ b/source/de/anomic/server/logging/serverLog.java @@ -165,7 +165,7 @@ public final class serverLog { logManager.readConfiguration(fileIn); // creating the logging directory - File log = new File("./log/"); + File log = new File("./DATA/LOG/"); if(!log.canRead()) log.mkdir(); // generating the root logger diff --git a/startYACY.sh b/startYACY.sh index e0cc64a40..70e6c0623 100755 --- a/startYACY.sh +++ b/startYACY.sh @@ -23,7 +23,7 @@ else nohup java -classpath classes:htroot:$CLASSPATH yacy > /dev/null & # nohup java -Xms160m -Xmx160m -classpath classes:htroot:$CLASSPATH yacy > /dev/null & fi - echo "YaCy started as daemon process. View it's activity in log/yacy00.log" + echo "YaCy started as daemon process. View it's activity in DATA/LOG/yacy00.log" echo "To stop YaCy, please execute stopYACY.sh and wait some seconds" echo "To administrate YaCy, start your web browser and open http://localhost:8080" fi diff --git a/stopYACY.sh b/stopYACY.sh index c514892e6..0de52f7c8 100755 --- a/stopYACY.sh +++ b/stopYACY.sh @@ -8,4 +8,4 @@ for N in `ls -1 libx/*.jar`; do CLASSPATH="$CLASSPATH$N:"; done java -classpath classes:htroot:$CLASSPATH yacy -shutdown echo "please wait until the YaCy daemon process terminates" -echo "you can monitor this with 'tail -f log/yacy00.log' and 'fuser log/yacy00.log'" \ No newline at end of file +echo "you can monitor this with 'tail -f DATA/LOG/yacy00.log' and 'fuser log/yacy00.log'" \ No newline at end of file diff --git a/yacy.logging b/yacy.logging index f2cb8cae2..2ae79261e 100644 --- a/yacy.logging +++ b/yacy.logging @@ -11,7 +11,7 @@ # CONFIG regular system status information (i.e. start-up messages) # FINE in-function status debug output PARSER.level = INFO -YACY.level = FINE +YACY.level = INFO HTCACHE.level = INFO PLASMA.level = INFO SERVER.level = INFO @@ -25,7 +25,7 @@ handlers = java.util.logging.FileHandler,\ # Properties for the FileHandler java.util.logging.FileHandler.limit = 1048576 java.util.logging.FileHandler.count = 20 -java.util.logging.FileHandler.pattern = log/yacy%u%g.log +java.util.logging.FileHandler.pattern = DATA/LOG/yacy%u%g.log java.util.logging.FileHandler.level = ALL java.util.logging.FileHandler.formatter=de.anomic.server.logging.serverSimpleLogFormatter @@ -46,5 +46,5 @@ de.anomic.server.logging.ConsoleOutErrHandler.formatter=de.anomic.server.logging de.anomic.http.httpdProxyHandler.logging.enabled = TRUE de.anomic.http.httpdProxyHandler.logging.FileHandler.limit = 1048576 de.anomic.http.httpdProxyHandler.logging.FileHandler.count = 20 -de.anomic.http.httpdProxyHandler.logging.FileHandler.pattern = log/proxyAccess%u%g.log +de.anomic.http.httpdProxyHandler.logging.FileHandler.pattern = DATA/LOG/proxyAccess%u%g.log