Skip to content

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

*) Bugfix for "Gehäuselautsprecher" Bug If de.anomic.server.logging.ConsoleOutErrHandler.ignoreCtrlChr is set to true all control chars except space,tab,newline, are replaced with spaces See: http://www.yacy-forum.de/viewtopic.php?p=5528

theli4a2f06053fb2
diff --git a/source/de/anomic/server/logging/ConsoleOutErrHandler.java b/source/de/anomic/server/logging/ConsoleOutErrHandler.java
index f3913619e..9c4703142 100644
--- a/source/de/anomic/server/logging/ConsoleOutErrHandler.java
+++ b/source/de/anomic/server/logging/ConsoleOutErrHandler.java
@@ -44,7 +44,7 @@ public final class ConsoleOutErrHandler extends Handler{
setFormatter(makeFormatter(formatter));
String ignoreCtrlChrStr = manager.getProperty(className + ".ignoreCtrlChr");
- this.ignoreCtrlChr = (ignoreCtrlChrStr.equalsIgnoreCase("true"));
+ this.ignoreCtrlChr = (ignoreCtrlChrStr==null)?false:ignoreCtrlChrStr.equalsIgnoreCase("true");
}