Prefix log msgs with "slapd"

This commit is contained in:
Howard Chu 2007-12-05 22:35:39 +00:00
parent cff654bd60
commit abff944303
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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