curator-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From randg...@apache.org
Subject git commit: CURATOR-91 - DefaultTraceDriver wasn't logging the name of the trace
Date Thu, 27 Feb 2014 00:49:01 GMT
Repository: curator
Updated Branches:
  refs/heads/master 7f7df9ce8 -> 10e4552df


CURATOR-91 - DefaultTraceDriver wasn't logging the name of the trace


Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/10e4552d
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/10e4552d
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/10e4552d

Branch: refs/heads/master
Commit: 10e4552df6cbcad838c2a3aef09656b463652fb0
Parents: 7f7df9c
Author: randgalt <randgalt@apache.org>
Authored: Thu Feb 27 06:18:21 2014 +0530
Committer: randgalt <randgalt@apache.org>
Committed: Thu Feb 27 06:18:21 2014 +0530

----------------------------------------------------------------------
 .../main/java/org/apache/curator/utils/DefaultTracerDriver.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/10e4552d/curator-client/src/main/java/org/apache/curator/utils/DefaultTracerDriver.java
----------------------------------------------------------------------
diff --git a/curator-client/src/main/java/org/apache/curator/utils/DefaultTracerDriver.java
b/curator-client/src/main/java/org/apache/curator/utils/DefaultTracerDriver.java
index e6bdabb..fa3a0c8 100644
--- a/curator-client/src/main/java/org/apache/curator/utils/DefaultTracerDriver.java
+++ b/curator-client/src/main/java/org/apache/curator/utils/DefaultTracerDriver.java
@@ -35,7 +35,7 @@ public class DefaultTracerDriver implements TracerDriver
     {
         if ( log.isTraceEnabled() )
         {
-            log.trace("Trace: " + TimeUnit.MILLISECONDS.convert(time, unit) + " ms");
+            log.trace("Trace: " + name + " - " + TimeUnit.MILLISECONDS.convert(time, unit)
+ " ms");
         }
     }
 


Mime
View raw message