*) 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

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@579 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 20 years ago
parent dc7c5237fb
commit 4a2f06053f

@ -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");
}

Loading…
Cancel
Save