incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r891698 - in /sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event: EventUtil.java impl/JobEventHandler.java
Date Thu, 17 Dec 2009 13:43:03 GMT
Author: cziegeler
Date: Thu Dec 17 13:43:02 2009
New Revision: 891698

URL: http://svn.apache.org/viewvc?rev=891698&view=rev
Log:
Remove debug logging.

Modified:
    sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/EventUtil.java
    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/EventUtil.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/EventUtil.java?rev=891698&r1=891697&r2=891698&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/EventUtil.java
(original)
+++ sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/EventUtil.java
Thu Dec 17 13:43:02 2009
@@ -247,7 +247,6 @@
                 notify = false;
             }
         }
-        LoggerFactory.getLogger(EventUtil.class).info("Send ack for {}", job.hashCode());
         final boolean notifyResult = notify;
 
         final Runnable task = new Runnable() {
@@ -257,7 +256,6 @@
              */
             public void run() {
                 boolean result = false;
-                LoggerFactory.getLogger(EventUtil.class).info("Processing {}", job.hashCode());
                 try {
                     result = processor.process(job);
                 } catch (Throwable t) {

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=891698&r1=891697&r2=891698&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
Thu Dec 17 13:43:02 2009
@@ -935,9 +935,7 @@
                 // we need async delivery, otherwise we might create a deadlock
                 // as this method runs inside a synchronized block and the finishedJob
                 // method as well!
-                logger.info("Posting event {}", jobEvent.hashCode());
                 localEA.postEvent(jobEvent);
-                logger.info("Posted event {}", jobEvent.hashCode());
                 // do not unlock if sending was successful
                 unlock = false;
             } else {



Mime
View raw message