Added LDAP_LOG messages

This commit is contained in:
Julius Enarusai 2002-03-26 21:14:23 +00:00
parent 437bf1ba70
commit 7b05699803

View 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;
}