ITS#6467 Indicate which operation is lost if we fail to add log entry

This commit is contained in:
Ondřej Kuzník 2021-06-01 13:58:01 +01:00
parent 726a203133
commit 0ea78fde20

View 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;