better Logging

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@464 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
allo 20 years ago
parent e24dbde217
commit 2013d031e5

@ -231,7 +231,7 @@ public final class httpTemplate {
writeTemplate(pis2, out, pattern, dflt, multi_key + "_" + i + "_"); writeTemplate(pis2, out, pattern, dflt, multi_key + "_" + i + "_");
}//for }//for
}else{//transferUntil }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 }else if( (bb & 0xFF) == lrbr ){ //alternatives
@ -314,7 +314,7 @@ public final class httpTemplate {
if(!found){ if(!found){
text += (char)bb; text += (char)bb;
if(pis.available()==0){ 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; found=true;
} }
} }

Loading…
Cancel
Save