]> git.sur5r.net Git - openldap/commitdiff
Added LDAP_LOG messages
authorJulius Enarusai <julius@openldap.org>
Tue, 26 Mar 2002 21:14:23 +0000 (21:14 +0000)
committerJulius Enarusai <julius@openldap.org>
Tue, 26 Mar 2002 21:14:23 +0000 (21:14 +0000)
servers/slapd/back-bdb/nextid.c

index 5b1f150c2e2e2fe39596d086c3b86546521fda21..f5d0e618b17508df03e4b6e47f82f37fcc9da5df 100644 (file)
@@ -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;
        }