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

gbellato
13.22.2007 e4008f2d59a4e7a53186031653100cbb70d001e0
Add the time and the thread name to the access log
in the hope that it will help debugging problems with the
synchronization ReSynchTest
1 files modified
5 ■■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/TestAccessLogger.java 5 ●●●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/TestAccessLogger.java
@@ -59,6 +59,7 @@
import org.opends.server.types.DN;
import org.opends.server.types.SearchResultEntry;
import org.opends.server.types.SearchResultReference;
import org.opends.server.util.TimeThread;
@@ -1018,6 +1019,8 @@
    buffer.append(operation.getOperationID());
    buffer.append(" msgID=");
    buffer.append(operation.getMessageID());
    buffer.append(" time=" + TimeThread.getTime());
    buffer.append(" thread=" + Thread.currentThread().getName());
  }
@@ -1038,6 +1041,8 @@
    buffer.append(" op=");
    buffer.append(operation.getOperationID());
    buffer.append(" msgID=");
    buffer.append(" time=" + TimeThread.getTime());
    buffer.append(" thread=" + Thread.currentThread().getName());
    buffer.append(operation.getMessageID());
    buffer.append(" resultCode=\"");
    buffer.append(operation.getResultCode());