incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r949121 - /sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/JobEventHandler.java
Date Fri, 28 May 2010 07:28:20 GMT
Author: cziegeler
Date: Fri May 28 07:28:20 2010
New Revision: 949121

URL: http://svn.apache.org/viewvc?rev=949121&view=rev
Log:
Add additional logging

Modified:
    sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/JobEventHandler.java

Modified: sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/JobEventHandler.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/JobEventHandler.java?rev=949121&r1=949120&r2=949121&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/JobEventHandler.java
(original)
+++ sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/JobEventHandler.java
Fri May 28 07:28:20 2010
@@ -1242,6 +1242,9 @@ public class JobEventHandler
         }
         // if the event is still in the processing list, we confirm the ack
         if ( ack != null ) {
+            if ( logger.isDebugEnabled() ) {
+                logger.debug("Received ack for job {}", EventUtil.toString(job));
+            }
             this.sendNotification(EventUtil.TOPIC_JOB_STARTED, job);
         }
         return ack != null;



Mime
View raw message