Commit c5ef4bf4 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

Improved error logging pulled from HEAD

parent f74ac12f
......@@ -1382,7 +1382,7 @@ syncrepl_message_to_op(
} else {
op->orm_modlist = modlist;
rc = op->o_bd->be_modify( op, &rs );
Debug( LDAP_DEBUG_SYNC,
Debug( rc ? LDAP_DEBUG_ANY : LDAP_DEBUG_SYNC,
"syncrepl_message_to_op: rid %03d be_modify %s (%d)\n",
si->si_rid, op->o_req_dn.bv_val, rc );
}
......@@ -1407,13 +1407,13 @@ syncrepl_message_to_op(
op->orr_nnewrdn = nrdn;
op->orr_deleteoldrdn = deleteOldRdn;
rc = op->o_bd->be_modrdn( op, &rs );
Debug( LDAP_DEBUG_SYNC,
Debug( rc ? LDAP_DEBUG_ANY : LDAP_DEBUG_SYNC,
"syncrepl_message_to_op: rid %03d be_modrdn %s (%d)\n",
si->si_rid, op->o_req_dn.bv_val, rc );
break;
case LDAP_REQ_DELETE:
rc = op->o_bd->be_delete( op, &rs );
Debug( LDAP_DEBUG_SYNC,
Debug( rc ? LDAP_DEBUG_ANY : LDAP_DEBUG_SYNC,
"syncrepl_message_to_op: rid %03d be_delete %s (%d)\n",
si->si_rid, op->o_req_dn.bv_val, rc );
break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment