1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 19:22:22 -05:00

Add logging during slow REPORT call

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@283 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-01-08 10:35:43 +00:00
parent 12d7b08725
commit 351a626b48

View File

@ -431,7 +431,10 @@ public class CaldavConnection extends AbstractConnection {
List<String> notFound = new ArrayList<String>(); List<String> notFound = new ArrayList<String>();
if (request.isMultiGet()) { if (request.isMultiGet()) {
events = new ArrayList<ExchangeSession.Event>(); events = new ArrayList<ExchangeSession.Event>();
int count = 0;
int total = request.getHrefs().size();
for (String href : request.getHrefs()) { for (String href : request.getHrefs()) {
DavGatewayTray.debug("Report event "+(++count)+"/"+total);
try { try {
String eventName = getEventFileNameFromPath(href); String eventName = getEventFileNameFromPath(href);
if (eventName == null) { if (eventName == null) {