directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r544690 - /directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/bind/ConfigureChain.java
Date Wed, 06 Jun 2007 00:09:01 GMT
Author: elecharny
Date: Tue Jun  5 17:09:01 2007
New Revision: 544690

URL: http://svn.apache.org/viewvc?view=rev&rev=544690
Log:
Replaced the stack trace by a simple message. As such a message
is now dumped for each bind request, with a full stack trace we will
have a gigantic log file on a heavy loaded server

Modified:
    directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/bind/ConfigureChain.java

Modified: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/bind/ConfigureChain.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/bind/ConfigureChain.java?view=diff&rev=544690&r1=544689&r2=544690
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/bind/ConfigureChain.java
(original)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/bind/ConfigureChain.java
Tue Jun  5 17:09:01 2007
@@ -71,7 +71,7 @@
         saslProps.put( "com.sun.security.sasl.digest.realm", getActiveRealms( config ) );
         session.setAttribute( "saslProps", saslProps );
 
-        session.setAttribute( "saslHost", config.getSaslHost() );
+        session.setAttribute( "saslProps", config.getSaslHost() );
         session.setAttribute( "baseDn", config.getSearchBaseDn() );
 
         Set activeMechanisms = getActiveMechanisms( config );
@@ -86,7 +86,7 @@
             catch ( ServiceConfigurationException sce )
             {
                 activeMechanisms.remove( "GSSAPI" );
-                log.warn( sce.getMessage(), sce );
+                log.warn( sce.getMessage() );
             }
         }
 



Mime
View raw message