Add debug msg if adding entry to logDB fails

This commit is contained in:
Howard Chu 2018-02-21 19:50:45 +00:00
parent 9fc6b894ec
commit 434c306cbe

View File

@ -1879,6 +1879,11 @@ 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, 0 );
}
if ( e == op2.ora_e ) entry_free( e );
e = NULL;