From: Gary Williams Date: Fri, 2 Feb 2001 13:50:16 +0000 (+0000) Subject: small changes to logging X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1518 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7cf56432bed9a79a51418a1680477f40305562af;p=openldap small changes to logging --- diff --git a/servers/slapd/entry.c b/servers/slapd/entry.c index a7a84f2a25..a7cb17baef 100644 --- a/servers/slapd/entry.c +++ b/servers/slapd/entry.c @@ -59,7 +59,7 @@ str2entry( char *s ) */ #ifdef NEW_LOGGING - LDAP_LOG(( "operation", LDAP_LEVEL_ARGS, + LDAP_LOG(( "operation", LDAP_LEVEL_DETAIL1, "str2entry: \"%s\"\n", s ? s : "NULL" )); #else Debug( LDAP_DEBUG_TRACE, "=> str2entry\n", @@ -559,7 +559,7 @@ int entry_encode( BerElement *ber; #ifdef NEW_LOGGING - LDAP_LOG(( "operation", LDAP_LEVEL_ENTRY, + LDAP_LOG(( "operation", LDAP_LEVEL_DETAIL1, "entry_encode: id: 0x%08lx \"%s\"\n", e->e_id, e->e_dn )); #else diff --git a/servers/slapd/modify.c b/servers/slapd/modify.c index 25eaa421d6..07ff01b998 100644 --- a/servers/slapd/modify.c +++ b/servers/slapd/modify.c @@ -408,7 +408,7 @@ int slap_modlist2mods( if( !validate ) { #ifdef NEW_LOGGING LDAP_LOG(( "operation", LDAP_LEVEL_ERR, - "modlist2mods: no validator for syntax %S\n", + "modlist2mods: no validator for syntax %s\n", ad->ad_type->sat_syntax->ssyn_oid )); #else Debug( LDAP_DEBUG_TRACE,