better Logging

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@464 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
allo 2005-07-31 12:07:34 +00:00
parent e24dbde217
commit 2013d031e5

View File

@ -231,7 +231,7 @@ public final class httpTemplate {
writeTemplate(pis2, out, pattern, dflt, multi_key + "_" + i + "_");
}//for
}else{//transferUntil
System.out.println("TEMPLATE ERROR: No Close Key found for #{"+multi_key+"}#");
serverLog.logError("TEMPLATE", "No Close Key found for #{"+multi_key+"}#");
}
}
}else if( (bb & 0xFF) == lrbr ){ //alternatives
@ -314,7 +314,7 @@ public final class httpTemplate {
if(!found){
text += (char)bb;
if(pis.available()==0){
System.out.println("TEMPLATE ERROR: No Close Key found for #("+key+")#");
serverLog.logError("TEMPLATE", "No Close Key found for #("+key+")#");
found=true;
}
}