From 9c58fde6c797b2e8e18ce62a8dd84a39fc3d5136 Mon Sep 17 00:00:00 2001 From: "bugzilla%standard8.plus.com" Date: Mon, 5 Nov 2007 16:28:34 +0000 Subject: [PATCH] Temporarily enable some extra LDAP logging to try and help diagnose bug 402536. r/sr=bienvenu for the temporary enabling. --- directory/xpcom/base/src/nsLDAPMessage.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/directory/xpcom/base/src/nsLDAPMessage.cpp b/directory/xpcom/base/src/nsLDAPMessage.cpp index ec18a42bd67..f15346b7215 100644 --- a/directory/xpcom/base/src/nsLDAPMessage.cpp +++ b/directory/xpcom/base/src/nsLDAPMessage.cpp @@ -482,12 +482,10 @@ nsLDAPMessage::GetValues(const char *aAttr, PRUint32 *aCount, PRUnichar ***aValues) { char **values; - -#if defined(DEBUG) + // We only want this being logged for debug builds so as not to affect performance too much. PR_LOG(gLDAPLogModule, PR_LOG_DEBUG, ("nsLDAPMessage::GetValues(): called with aAttr = '%s'", aAttr)); -#endif values = ldap_get_values(mConnectionHandle, mMsgHandle, aAttr);