directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r526136 - /directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
Date Fri, 06 Apr 2007 12:29:38 GMT
Author: elecharny
Date: Fri Apr  6 05:29:37 2007
New Revision: 526136

URL: http://svn.apache.org/viewvc?view=rev&rev=526136
Log:
Switch to debug some info logs, to avoid a lot of logs during tests

Modified:
    directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java

Modified: directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java?view=diff&rev=526136&r1=526135&r2=526136
==============================================================================
--- directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
(original)
+++ directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
Fri Apr  6 05:29:37 2007
@@ -183,7 +183,7 @@
             if ( nextObject instanceof String ) 
             {
                 name = ( String ) nextObject;
-                log.warn( "Using default cache size of {} for index on attribute {}", 
+                log.debug( "Using default cache size of {} for index on attribute {}", 
                     new Integer( cacheSize ), name );
             }
             // custom cache size is used
@@ -285,7 +285,7 @@
             if ( ! customAddedSystemIndices.contains( systemIndexName ) )
             {
                 AttributeType type = attributeTypeRegistry.lookup( systemIndexName );
-                log.warn( "Using default cache size of {} for index on attribute {}", 
+                log.debug( "Using default cache size of {} for index on attribute {}", 
                     new Integer( IndexConfiguration.DEFAULT_INDEX_CACHE_SIZE ), systemIndexName
);
                 if ( systemIndexName.equals( Oid.EXISTANCE ) )
                 {
@@ -378,12 +378,12 @@
             if ( cacheSize < 0 )
             {
                 cacheSize = DEFAULT_CACHE_SIZE;
-                log.warn( "Using the default entry cache size of {} for {} partition", 
+                log.debug( "Using the default entry cache size of {} for {} partition", 
                     new Integer( cacheSize ), config.getName() );
             }
             else
             {
-                log.info( "Using the custom configured cache size of {} for {} partition",

+                log.debug( "Using the custom configured cache size of {} for {} partition",

                     new Integer( cacheSize ), config.getName() );
             }
             recMan = new CacheRecordManager( base, new MRU( cacheSize ) );



Mime
View raw message