From f04df5bb050f96a871aecb28312861626272ad55 Mon Sep 17 00:00:00 2001 From: Noriko Hosoi Date: Aug 07 2014 17:37:43 +0000 Subject: Ticket #47834 - Tombstone_to_glue: if parents are also converted to glue, the target entry's DN must be adjusted. Description: commit 708a56b8d524131362e2d71b7fbc2eb257075e14 for Ticket #47834 ingroduced the flood of "Connection is NULL and hence cannot access SLAPI_CONN_ID" in the error log. This patch changes the log level of the message to LDAP_DEBUG_TRACE to suppress it. (cherry picked from commit cfb2cacfb94e511068a7c9ceed4e9ae1dfdfd45a) --- diff --git a/ldap/servers/slapd/pblock.c b/ldap/servers/slapd/pblock.c index d3cc55c..c1fac14 100644 --- a/ldap/servers/slapd/pblock.c +++ b/ldap/servers/slapd/pblock.c @@ -186,7 +186,7 @@ slapi_pblock_get( Slapi_PBlock *pblock, int arg, void *value ) break; case SLAPI_CONN_ID: if (pblock->pb_conn == NULL) { - LDAPDebug( LDAP_DEBUG_ANY, + LDAPDebug( LDAP_DEBUG_TRACE, "Connection is NULL and hence cannot access SLAPI_CONN_ID \n", 0, 0, 0 ); return (-1); }