summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2010-03-17 16:05:53 -0500
committerNoriko Hosoi <nhosoi@jiji.sjc.redhat.com>2010-03-18 09:41:58 -0700
commitd06cce8da19faba2a8d664c28123cda5808610c9 (patch)
tree957b736a3e275b200af76c4acca34572c6968562
parent0cd1fc49e67e396cf5391a591c83fd1ad0df9d2b (diff)
downloadds-d06cce8da19faba2a8d664c28123cda5808610c9.tar.gz
ds-d06cce8da19faba2a8d664c28123cda5808610c9.tar.xz
ds-d06cce8da19faba2a8d664c28123cda5808610c9.zip
Bug 573375 - MODRDN operation not logged
https://bugzilla.redhat.com/show_bug.cgi?id=573375 Resolves: bug 573375 Bug Description: MODRDN operation not logged Fix Description: The slapi_log_access() should be invoked using LDAP_DEBUG_STATS, LDAP_DEBUG_STATS2, or LDAP_DEBUG_ARGS level.
-rw-r--r--ldap/servers/slapd/modrdn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldap/servers/slapd/modrdn.c b/ldap/servers/slapd/modrdn.c
index 7873c808..b70377a9 100644
--- a/ldap/servers/slapd/modrdn.c
+++ b/ldap/servers/slapd/modrdn.c
@@ -352,7 +352,7 @@ op_shared_rename(Slapi_PBlock *pb, int passin_args)
{
if ( !internal_op )
{
- slapi_log_access(SLAPI_LOG_ARGS,
+ slapi_log_access(LDAP_DEBUG_STATS,
"conn=%" NSPRIu64 " op=%d MODRDN dn=\"%s\" newrdn=\"%s\" newsuperior=\"%s\"\n",
pb->pb_conn->c_connid,
pb->pb_op->o_opid,
@@ -362,7 +362,7 @@ op_shared_rename(Slapi_PBlock *pb, int passin_args)
}
else
{
- slapi_log_access(SLAPI_LOG_ARGS,
+ slapi_log_access(LDAP_DEBUG_ARGS,
"conn=%s op=%d MODRDN dn=\"%s\" newrdn=\"%s\" newsuperior=\"%s\"\n",
LOG_INTERNAL_OP_CON_ID,
LOG_INTERNAL_OP_OP_ID,