jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r1349365 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/ObservationDispatcher.java
Date Tue, 12 Jun 2012 14:07:08 GMT
Author: mreutegg
Date: Tue Jun 12 14:07:07 2012
New Revision: 1349365

URL: http://svn.apache.org/viewvc?rev=1349365&view=rev
Log:
JCR-3339: Log stack trace with warn message in ObservationDispatcher

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/ObservationDispatcher.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/ObservationDispatcher.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/ObservationDispatcher.java?rev=1349365&r1=1349364&r2=1349365&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/ObservationDispatcher.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/ObservationDispatcher.java
Tue Jun 12 14:07:07 2012
@@ -160,8 +160,9 @@ public final class ObservationDispatcher
                 try {
                     c.consumeEvents(action.getEventStates());
                 } catch (Throwable t) {
-                    log.warn("EventConsumer threw exception: " + t.toString());
-                    log.debug("Stacktrace: ", t);
+                    log.warn("EventConsumer " +
+                            c.getEventListener().getClass().getName() +
+                            " threw exception", t);
                     // move on to the next consumer
                 }
             }



Mime
View raw message