jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r997244 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/session/SessionState.java
Date Wed, 15 Sep 2010 09:54:00 GMT
Author: thomasm
Date: Wed Sep 15 09:54:00 2010
New Revision: 997244

URL: http://svn.apache.org/viewvc?rev=997244&view=rev
Log:
JCR-2749 Closing a session twice shouldn't write a warning in the log

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/session/SessionState.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/session/SessionState.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/session/SessionState.java?rev=997244&r1=997243&r2=997244&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/session/SessionState.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/session/SessionState.java
Wed Sep 15 09:54:00 2010
@@ -220,9 +220,11 @@ public class SessionState {
                             "Stack trace of where " + context + " was closed");
                     return true;
                 } else {
-                    log.warn("This session has already been closed. See the"
-                            + " chained exception for a trace of where the "
+                    log.debug("This session has already been closed. See the"
+                            + " exception for a trace of where the "
                             + " session was closed.", closed);
+                    log.debug("And additionally at", 
+                            new Exception("Stack trace of where " + context + " was also
closed"));
                     return false;
                 }
             } finally {



Mime
View raw message