diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c
index e4d6e3a14f8d34ccf7526bb0606569d40d5fb571..899adb31a2bc79fb7a366fa687fbf0aef0cd609f 100644
--- a/servers/slapd/sasl.c
+++ b/servers/slapd/sasl.c
@@ -370,10 +370,10 @@ sasl_ap_lookup( Operation *op, SlapReply *rs )
 		if ( rc != LDAP_SUCCESS ) {
 #ifdef NEW_LOGGING
 			LDAP_LOG( TRANSPORT, DETAIL1, 
-				"slap_auxprop: str2ad(%s): %s\n", name, text, 0 );
+				"slap_ap_lookup: str2ad(%s): %s\n", name, text, 0 );
 #else
 			Debug( LDAP_DEBUG_TRACE,
-				"slap_auxprop: str2ad(%s): %s\n", name, text, 0 );
+				"slap_ap_lookup: str2ad(%s): %s\n", name, text, 0 );
 #endif
 			continue;
 		}