mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
02.29.2011 8976f15e012e64ff1b6d27e48687350681fabd30
OPEN - issue OPENDJ-25: Over-verbose logging of LDAP compare operations in access log 
https://bugster.forgerock.org/jira/browse/OPENDJ-25

Output name or OID, not entire definition.
1 files modified
3 ■■■■ changed files
opends/src/server/org/opends/server/loggers/TextAccessLogPublisher.java 3 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/loggers/TextAccessLogPublisher.java
@@ -23,6 +23,7 @@
 *
 *
 *      Copyright 2006-2009 Sun Microsystems, Inc.
 *      Portions Copyright 2011 ForgeRock AS
 */
package org.opends.server.loggers;
@@ -779,7 +780,7 @@
    buffer.append(" dn=\"");
    buffer.append(compareOperation.getRawEntryDN().toString());
    buffer.append("\" attr=");
    buffer.append(compareOperation.getAttributeType());
    buffer.append(compareOperation.getAttributeType().getNameOrOID());
    if (compareOperation.isSynchronizationOperation())
      buffer.append(" type=synchronization");