From 7b0569980353e6830a66c987cf24484613888431 Mon Sep 17 00:00:00 2001 From: Julius Enarusai Date: Tue, 26 Mar 2002 21:14:23 +0000 Subject: [PATCH] Added LDAP_LOG messages --- servers/slapd/back-bdb/nextid.c | 6 ++++++ 1 file changed, 6 insertions(+) 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; } -- 2.39.5