]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#6467 Indicate which operation is lost if we fail to add log entry
authorOndřej Kuzník <ondra@mistotebe.net>
Tue, 1 Jun 2021 12:58:01 +0000 (13:58 +0100)
committerOndřej Kuzník <ondra@mistotebe.net>
Thu, 3 Jun 2021 09:23:43 +0000 (10:23 +0100)
servers/slapd/overlays/accesslog.c

index 11f4e2a95b6259c69478fa01c0e10396c04debea..0309c8182707de3e6e67c0fa23c60d2cf5f9f6eb 100644 (file)
@@ -1937,9 +1937,9 @@ static int accesslog_response(Operation *op, SlapReply *rs) {
 
        op2.o_bd->be_add( &op2, &rs2 );
        if ( rs2.sr_err != LDAP_SUCCESS ) {
-               Debug( LDAP_DEBUG_SYNC,
-                       "accesslog_response: got result 0x%x adding log entry %s\n",
-                       rs2.sr_err, op2.o_req_dn.bv_val );
+               Debug( LDAP_DEBUG_SYNC, "%s accesslog_response: "
+                       "got result 0x%x adding log entry %s\n",
+                       op->o_log_prefix, rs2.sr_err, op2.o_req_dn.bv_val );
        }
        if ( e == op2.ora_e ) entry_free( e );
        e = NULL;