From 351a626b482279b71db61002379a8e40a73434b1 Mon Sep 17 00:00:00 2001 From: mguessan Date: Thu, 8 Jan 2009 10:35:43 +0000 Subject: [PATCH] Add logging during slow REPORT call git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@283 3d1905a2-6b24-0410-a738-b14d5a86fcbd --- src/java/davmail/caldav/CaldavConnection.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/java/davmail/caldav/CaldavConnection.java b/src/java/davmail/caldav/CaldavConnection.java index 23604360..2e0a2d36 100644 --- a/src/java/davmail/caldav/CaldavConnection.java +++ b/src/java/davmail/caldav/CaldavConnection.java @@ -431,7 +431,10 @@ public class CaldavConnection extends AbstractConnection { List notFound = new ArrayList(); if (request.isMultiGet()) { events = new ArrayList(); + int count = 0; + int total = request.getHrefs().size(); for (String href : request.getHrefs()) { + DavGatewayTray.debug("Report event "+(++count)+"/"+total); try { String eventName = getEventFileNameFromPath(href); if (eventName == null) {