directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1481474 - /directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/Registries.java
Date Sun, 12 May 2013 06:02:53 GMT
Author: kayyagari
Date: Sun May 12 06:02:52 2013
New Revision: 1481474

URL: http://svn.apache.org/r1481474
Log:
changed the log level to trace to prevent flooding the logs

Modified:
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/Registries.java

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/Registries.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/Registries.java?rev=1481474&r1=1481473&r2=1481474&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/Registries.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/Registries.java
Sun May 12 06:02:52 2013
@@ -2026,10 +2026,12 @@ public class Registries implements Schem
         addUsing( base, referenced );
         addUsedBy( referenced, base );
 
-        if ( LOG.isDebugEnabled() )
+        // do not change to debug mode, this makes the server logs hard to read and useless
+        // and even prevents the server from starting up
+        if ( LOG.isTraceEnabled() )
         {
-            LOG.debug( dumpUsedBy() );
-            LOG.debug( dumpUsing() );
+            LOG.trace( dumpUsedBy() );
+            LOG.trace( dumpUsing() );
         }
     }
 



Mime
View raw message