From: Howard Chu Date: Wed, 5 Dec 2007 22:35:39 +0000 (+0000) Subject: Prefix log msgs with "slapd" X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~352 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=abff944303f7cecaf6116173fe5343271b323c85;p=openldap Prefix log msgs with "slapd" --- 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