From 44aad3f84d2a820094f3b5e73722778edc8c23f5 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Tue, 24 Apr 2007 22:40:57 +0000
Subject: [PATCH] Make several significant changes to the OpenDS code base, including:

---
 opends/src/server/org/opends/server/protocols/ldap/LDAPConnectionHandler.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opends/src/server/org/opends/server/protocols/ldap/LDAPConnectionHandler.java b/opends/src/server/org/opends/server/protocols/ldap/LDAPConnectionHandler.java
index 435375a..0ebb489 100644
--- a/opends/src/server/org/opends/server/protocols/ldap/LDAPConnectionHandler.java
+++ b/opends/src/server/org/opends/server/protocols/ldap/LDAPConnectionHandler.java
@@ -35,7 +35,7 @@
 import static org.opends.server.messages.MessageHandler.getMessage;
 import static org.opends.server.messages.ProtocolMessages.*;
 import static org.opends.server.util.ServerConstants.*;
-import static org.opends.server.util.StaticUtils.stackTraceToSingleLineString;
+import static org.opends.server.util.StaticUtils.*;
 
 import java.net.InetAddress;
 import java.net.InetSocketAddress;
@@ -1037,7 +1037,7 @@
                     String message = getMessage(msgID,
                         clientConnection.getClientHostPort(),
                         clientConnection.getServerHostPort(),
-                        stackTraceToSingleLineString(e));
+                        getExceptionMessage(e));
 
                     logError(ErrorLogCategory.CONNECTION_HANDLING,
                         ErrorLogSeverity.SEVERE_ERROR, message, msgID);
@@ -1072,7 +1072,7 @@
             logError(ErrorLogCategory.CONNECTION_HANDLING,
                 ErrorLogSeverity.SEVERE_WARNING,
                 MSGID_LDAP_CONNHANDLER_CANNOT_ACCEPT_CONNECTION,
-                currentConfig.dn(), stackTraceToSingleLineString(e));
+                currentConfig.dn(), getExceptionMessage(e));
 
             if (lastIterationFailed) {
               // The last time through the accept loop we also

--
Gitblit v1.10.0