jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cko...@apache.org
Subject svn commit: r1352792 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/AbstractBundlePersistenceManager.java
Date Fri, 22 Jun 2012 08:02:18 GMT
Author: ckoell
Date: Fri Jun 22 08:02:17 2012
New Revision: 1352792

URL: http://svn.apache.org/viewvc?rev=1352792&view=rev
Log:
JCR-3275 minor change

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/AbstractBundlePersistenceManager.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/AbstractBundlePersistenceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/AbstractBundlePersistenceManager.java?rev=1352792&r1=1352791&r2=1352792&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/AbstractBundlePersistenceManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/AbstractBundlePersistenceManager.java
Fri Jun 22 08:02:17 2012
@@ -774,7 +774,9 @@ public abstract class AbstractBundlePers
         long time = System.nanoTime();
         log.debug("Storing bundle {}", bundle.getId());
         storeBundle(bundle);
-        auditLogger.debug("Stored bundle '{}' to PM ({})", bundle.getId(), bundle.getSize());
+        if (auditLogger.isDebugEnabled()) {
+        	auditLogger.debug("Stored bundle '{}' to PM ({})", bundle.getId(), bundle.getSize());
+        }
         writeDuration.addAndGet(System.nanoTime() - time);
         writeCounter.incrementAndGet();
 



Mime
View raw message