X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fback-bdb%2Fkey.c;h=ea6433fa6eebf38301a286322ef24ab24c3ff452;hb=b7f0983efafb6139d45814978ec376f87c228c37;hp=6156c126fa9c6adfd137277574cb8e724b669cfd;hpb=d5d801d1528935c3a2634544a48d2429d3f163b0;p=openldap diff --git a/servers/slapd/back-bdb/key.c b/servers/slapd/back-bdb/key.c index 6156c126fa..ea6433fa6e 100644 --- a/servers/slapd/back-bdb/key.c +++ b/servers/slapd/back-bdb/key.c @@ -1,7 +1,7 @@ /* index.c - routines for dealing with attribute indexes */ /* $OpenLDAP$ */ /* - * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved. + * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ @@ -43,7 +43,7 @@ bdb_key_read( if( rc != LDAP_SUCCESS ) { #ifdef NEW_LOGGING - LDAP_LOG(( "index", LDAP_LEVEL_ENTRY, + LDAP_LOG(( "index", LDAP_LEVEL_ERR, "bdb_key_read: failed (%d)\n", rc )); #else @@ -52,7 +52,7 @@ bdb_key_read( #endif } else { #ifdef NEW_LOGGING - LDAP_LOG(( "index", LDAP_LEVEL_ENTRY, + LDAP_LOG(( "index", LDAP_LEVEL_DETAIL1, "bdb_key_read: %ld candidates\n", (long) BDB_IDL_N(ids) )); #else Debug( LDAP_DEBUG_TRACE, "<= bdb_index_read %ld candidates\n", @@ -78,7 +78,7 @@ bdb_key_change( DBT key; #ifdef NEW_LOGGING - LDAP_LOG(( "index", LDAP_LEVEL_ENTRY, + LDAP_LOG(( "index", LDAP_LEVEL_DETAIL1, "key_change: %s ID %lx\n", op == SLAP_INDEX_ADD_OP ? "Add" : "Delete", (long) id )); #else @@ -99,7 +99,7 @@ bdb_key_change( } #ifdef NEW_LOGGING - LDAP_LOG(( "index", LDAP_LEVEL_ENTRY, + LDAP_LOG(( "index", LDAP_LEVEL_RESULTS, "key_change: return %d\n", rc )); #else Debug( LDAP_DEBUG_TRACE, "<= key_change %d\n", rc, 0, 0 );