From e4008f2d59a4e7a53186031653100cbb70d001e0 Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Tue, 13 Mar 2007 14:22:59 +0000
Subject: [PATCH] Add the time and the thread name to the access log in the hope that it will help debugging problems with the synchronization ReSynchTest

---
 opends/tests/unit-tests-testng/src/server/org/opends/server/TestAccessLogger.java |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/TestAccessLogger.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/TestAccessLogger.java
index 35f56c4..7884177 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/TestAccessLogger.java
+++ b/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());

--
Gitblit v1.10.0