jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r1357125 - in /jackrabbit/branches/2.2: ./ jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/ObservationDispatcher.java
Date Wed, 04 Jul 2012 07:39:56 GMT
Author: mreutegg
Date: Wed Jul  4 07:39:55 2012
New Revision: 1357125

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

Modified:
    jackrabbit/branches/2.2/   (props changed)
    jackrabbit/branches/2.2/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/ObservationDispatcher.java

Propchange: jackrabbit/branches/2.2/
------------------------------------------------------------------------------
  Merged /jackrabbit/trunk:r1349365

Modified: jackrabbit/branches/2.2/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/ObservationDispatcher.java
URL: http://svn.apache.org/viewvc/jackrabbit/branches/2.2/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/ObservationDispatcher.java?rev=1357125&r1=1357124&r2=1357125&view=diff
==============================================================================
--- jackrabbit/branches/2.2/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/ObservationDispatcher.java
(original)
+++ jackrabbit/branches/2.2/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/ObservationDispatcher.java
Wed Jul  4 07:39:55 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