]> git.sur5r.net Git - openldap/commitdiff
Prefix log msgs with "slapd"
authorHoward Chu <hyc@openldap.org>
Wed, 5 Dec 2007 22:35:39 +0000 (22:35 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 5 Dec 2007 22:35:39 +0000 (22:35 +0000)
servers/slapd/back-bdb/cache.c
servers/slapd/back-bdb/delete.c

index 8d6d0c293f45c335817f9c4633a8288fa1fcb166..58794b89a2fe770dba53828f304070673c39074b 100644 (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
 
index 765a8acc6311208af05d238d7b7dd1d1df18d1fd..8233f7ee6b19dbc7d900b1ff4d637c3dc63b7d54 100644 (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