Dav: log search response count

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1615 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2011-02-02 21:56:22 +00:00
parent bcfac29e21
commit bc0e157340
3 changed files with 6 additions and 3 deletions

View File

@ -1858,8 +1858,10 @@ public class DavExchangeSession extends ExchangeSession {
condition.appendTo(searchRequest);
}
DavGatewayTray.debug(new BundleMessage("LOG_SEARCH_QUERY", searchRequest));
return DavGatewayHttpClientFacade.executeSearchMethod(
MultiStatusResponse[] responses = DavGatewayHttpClientFacade.executeSearchMethod(
httpClient, URIUtil.encodePath(folderUrl), searchRequest.toString(), maxCount);
DavGatewayTray.debug(new BundleMessage("LOG_SEARCH_RESULT", responses.length));
return responses;
}
protected static final Set<String> EVENT_REQUEST_PROPERTIES = new HashSet<String>();
@ -2387,7 +2389,7 @@ public class DavExchangeSession extends ExchangeSession {
}
// wrong hostname fix flag
protected boolean restoreHostName = false;
protected boolean restoreHostName;
/**
* @inheritDoc

View File

@ -273,3 +273,4 @@ UI_SUBJECT_HELP=Caldav notification subject
UI_NOTIFICATION_BODY=Caldav notification comment
UI_CALDAV_EDIT_NOTIFICATIONS=Edit Caldav notifications:
UI_CALDAV_EDIT_NOTIFICATIONS_HELP=Enable interactive Caldav edit notification window
LOG_SEARCH_RESULT=Found {0} item(s)

View File

@ -272,4 +272,4 @@ UI_CC=Copie
UI_CC_HELP=Destinataires en copie
UI_CALDAV_EDIT_NOTIFICATIONS=Edition notifications Caldav :
UI_CALDAV_EDIT_NOTIFICATIONS_HELP=Activer le fenêtre d'édition interactive des notifications
LOG_SEARCH_RESULT={0} élément(s) trouvé(s)