From abff944303f7cecaf6116173fe5343271b323c85 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 5 Dec 2007 22:35:39 +0000 Subject: [PATCH] Prefix log msgs with "slapd" --- servers/slapd/back-bdb/cache.c | 4 ++-- servers/slapd/back-bdb/delete.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/servers/slapd/back-bdb/cache.c b/servers/slapd/back-bdb/cache.c index 8d6d0c293f..58794b89a2 100644 --- a/servers/slapd/back-bdb/cache.c +++ b/servers/slapd/back-bdb/cache.c @@ -438,7 +438,7 @@ bdb_cache_find_ndn( bdb_cache_entryinfo_unlock( eip ); #if defined(LDAP_DEBUG) && defined(LDAP_DEVEL) - bdb->bi_dbenv->log_printf( bdb->bi_dbenv, NULL, "Reading %s", + bdb->bi_dbenv->log_printf( bdb->bi_dbenv, NULL, "slapd Reading %s", ei.bei_nrdn.bv_val ); #endif @@ -450,7 +450,7 @@ bdb_cache_find_ndn( } #if defined(LDAP_DEBUG) && defined(LDAP_DEVEL) - bdb->bi_dbenv->log_printf( bdb->bi_dbenv, NULL, "Read got %s(%d)", + bdb->bi_dbenv->log_printf( bdb->bi_dbenv, NULL, "slapd Read got %s(%d)", ei.bei_nrdn.bv_val, ei.bei_id ); #endif diff --git a/servers/slapd/back-bdb/delete.c b/servers/slapd/back-bdb/delete.c index 765a8acc63..8233f7ee6b 100644 --- a/servers/slapd/back-bdb/delete.c +++ b/servers/slapd/back-bdb/delete.c @@ -373,7 +373,7 @@ retry: /* transaction retry */ } #if defined(LDAP_DEBUG) && defined(LDAP_DEVEL) - bdb->bi_dbenv->log_printf( bdb->bi_dbenv, lt2, "Starting delete %s(%d)", + bdb->bi_dbenv->log_printf( bdb->bi_dbenv, lt2, "slapd Starting delete %s(%d)", e->e_nname.bv_val, e->e_id ); #endif @@ -498,7 +498,7 @@ retry: /* transaction retry */ } #if defined(LDAP_DEBUG) && defined(LDAP_DEVEL) - bdb->bi_dbenv->log_printf( bdb->bi_dbenv, lt2, "Commit1 delete %s(%d)", + bdb->bi_dbenv->log_printf( bdb->bi_dbenv, lt2, "slapd Commit1 delete %s(%d)", e->e_nname.bv_val, e->e_id ); #endif @@ -529,7 +529,7 @@ retry: /* transaction retry */ } else { #if defined(LDAP_DEBUG) && defined(LDAP_DEVEL) - bdb->bi_dbenv->log_printf( bdb->bi_dbenv, ltid, "Cache delete %s(%d)", + bdb->bi_dbenv->log_printf( bdb->bi_dbenv, ltid, "slapd Cache delete %s(%d)", e->e_nname.bv_val, e->e_id ); #endif @@ -546,7 +546,7 @@ retry: /* transaction retry */ op->o_private = NULL; #if defined(LDAP_DEBUG) && defined(LDAP_DEVEL) - bdb->bi_dbenv->log_printf( bdb->bi_dbenv, NULL, "Committed delete %s(%d)", + bdb->bi_dbenv->log_printf( bdb->bi_dbenv, NULL, "slapd Committed delete %s(%d)", e->e_nname.bv_val, e->e_id ); #endif -- 2.39.5