From: Kurt Zeilenga Date: Mon, 11 Nov 2002 18:38:57 +0000 (+0000) Subject: Delete some old (bad) statslog messages X-Git-Tag: NO_SLAP_OP_BLOCKS~801 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e1f2ed9bc1417de571037b265b4df25ff57cdb1b;p=openldap Delete some old (bad) statslog messages --- diff --git a/servers/slapd/back-ldbm/dbcache.c b/servers/slapd/back-ldbm/dbcache.c index b9407f4d1a..811fbe7441 100644 --- a/servers/slapd/back-ldbm/dbcache.c +++ b/servers/slapd/back-ldbm/dbcache.c @@ -344,24 +344,6 @@ ldbm_cache_store( { int rc; -#ifdef LDBM_DEBUG - Statslog( LDAP_DEBUG_STATS, - "=> ldbm_cache_store(): key.dptr=%s, key.dsize=%d\n", - key.dptr, key.dsize, 0, 0, 0 ); - - Statslog( LDAP_DEBUG_STATS, - "=> ldbm_cache_store(): key.dptr=0x%08x, data.dptr=0x%0 8x\n", - key.dptr, data.dptr, 0, 0, 0 ); - - Statslog( LDAP_DEBUG_STATS, - "=> ldbm_cache_store(): data.dptr=%s, data.dsize=%d\n", - data.dptr, data.dsize, 0, 0, 0 ); - - Statslog( LDAP_DEBUG_STATS, - "=> ldbm_cache_store(): flags=0x%08x\n", - flags, 0, 0, 0, 0 ); -#endif /* LDBM_DEBUG */ - db->dbc_dirty = 1; rc = ldbm_store( db->dbc_db, key, data, flags ); diff --git a/servers/slapd/back-ldbm/idl.c b/servers/slapd/back-ldbm/idl.c index 1fc046d3e0..ff00848466 100644 --- a/servers/slapd/back-ldbm/idl.c +++ b/servers/slapd/back-ldbm/idl.c @@ -308,11 +308,6 @@ idl_store( flags = LDBM_REPLACE; rc = ldbm_cache_store( db, key, data, flags ); -#ifdef LDBM_DEBUG - Statslog( LDAP_DEBUG_STATS, "<= idl_store(): rc=%d\n", - rc, 0, 0, 0, 0 ); -#endif - /* Debug( LDAP_DEBUG_TRACE, "<= idl_store %d\n", rc, 0, 0 ); */ return( rc ); } diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 37cd0d7a07..6d1ca980bb 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -1624,7 +1624,7 @@ slapd_daemon_task( SLAP_STRING_UNKNOWN )) { /* DENY ACCESS */ - Statslog( LDAP_DEBUG_ANY, + Statslog( LDAP_DEBUG_STATS, "fd=%ld host access from %s (%s) denied.\n", (long) s, dnsname != NULL ? dnsname : SLAP_STRING_UNKNOWN,