From: Julius Enarusai Date: Tue, 26 Mar 2002 21:14:23 +0000 (+0000) Subject: Added LDAP_LOG messages X-Git-Tag: OPENLDAP_REL_ENG_2_MP~306 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7b0569980353e6830a66c987cf24484613888431;p=openldap Added LDAP_LOG messages --- diff --git a/servers/slapd/back-bdb/nextid.c b/servers/slapd/back-bdb/nextid.c index 5b1f150c2e..f5d0e618b1 100644 --- a/servers/slapd/back-bdb/nextid.c +++ b/servers/slapd/back-bdb/nextid.c @@ -57,9 +57,15 @@ int bdb_last_id( BackendDB *be, DB_TXN *tid ) break; default: +#ifdef NEW_LOGGING + LDAP_LOG (( "nextid", LDAP_LEVEL_ERR, + "bdb_last_id: get failed: %s (%d)\n", + db_strerror(rc), rc )); +#else Debug( LDAP_DEBUG_ANY, "=> bdb_last_id: get failed: %s (%d)\n", db_strerror(rc), rc, 0 ); +#endif goto done; }