if(log.isWarning())log.logWarning("crawlReceipt: RECEIVED wrong RECEIPT (url null) for hash "+ASCII.String(entry.hash())+" from peer "+iam+"\n\tURL properties: "+propStr);
if(log.isWarning())log.logWarning("crawlReceipt: RECEIVED wrong RECEIPT ("+urlRejectReason+") for hash "+ASCII.String(entry.hash())+" from peer "+iam+"\n\tURL properties: "+propStr);
prop.put("delay","9999");
@ -145,7 +144,7 @@ public final class crawlReceipt {
sb.crawlQueues.delegatedURL.remove(entry.hash());// the delegated work has been done
if(log.isInfo())log.logInfo("crawlReceipt: RECEIVED RECEIPT from "+otherPeerName+" for URL "+ASCII.String(entry.hash())+":"+metadata.url().toNormalform(false,true));
if(log.isInfo())log.logInfo("crawlReceipt: RECEIVED RECEIPT from "+otherPeerName+" for URL "+ASCII.String(entry.hash())+":"+entry.url().toNormalform(false,true));
Switchboard.this.log.logInfo("Sending crawl receipt for '"+this.reference.metadata().url().toNormalform(false,true)+"' to "+this.initiatorPeer.getName()+" FAILED, send time = "+(System.currentTimeMillis()-t));
Switchboard.this.log.logInfo("Sending crawl receipt for '"+this.reference.url().toNormalform(false,true)+"' to "+this.initiatorPeer.getName()+" FAILED, send time = "+(System.currentTimeMillis()-t));
return;
}
finalStringdelay=response.get("delay");
Switchboard.this.log.logInfo("Sending crawl receipt for '"+this.reference.metadata().url().toNormalform(false,true)+"' to "+this.initiatorPeer.getName()+" success, delay = "+delay+", send time = "+(System.currentTimeMillis()-t));
Switchboard.this.log.logInfo("Sending crawl receipt for '"+this.reference.url().toNormalform(false,true)+"' to "+this.initiatorPeer.getName()+" success, delay = "+delay+", send time = "+(System.currentTimeMillis()-t));
Log.logInfo("SEARCH","text snippet load time for "+metadata.url()+": "+snippetComputationTime+", "+(!snippet.getErrorCode().fail()?"snippet found":("no snippet found ("+snippet.getError()+")")));
Log.logInfo("SEARCH","text snippet load time for "+page.url()+": "+snippetComputationTime+", "+(!snippet.getErrorCode().fail()?"snippet found":("no snippet found ("+snippet.getError()+")")));
if(!snippet.getErrorCode().fail()){
// we loaded the file and found the snippet
@ -526,16 +523,16 @@ public class SnippetProcess {
}else{
// problems with snippet fetch
finalStringreason="no text snippet; errorCode = "+snippet.getErrorCode();