mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Add debug msg if adding entry to logDB fails
This commit is contained in:
parent
9fc6b894ec
commit
434c306cbe
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user