small changes to logging

This commit is contained in:
Gary Williams 2001-02-02 13:50:16 +00:00
parent e565505f21
commit 7cf56432be
2 changed files with 3 additions and 3 deletions

View File

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

View File

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