You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by tv...@apache.org on 2017/10/27 17:59:11 UTC

[5/5] tomee git commit: using debug instead of info

using debug instead of info


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/81f49ec6
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/81f49ec6
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/81f49ec6

Branch: refs/heads/tomee-1.7.x
Commit: 81f49ec65b130ca9ecf684d0a3111cff8df30174
Parents: 07fe350
Author: Thiago Veronezi <th...@veronezi.org>
Authored: Fri Oct 27 11:59:12 2017 -0400
Committer: Thiago Veronezi <th...@veronezi.org>
Committed: Fri Oct 27 11:59:12 2017 -0400

----------------------------------------------------------------------
 .../java/org/apache/openejb/monitoring/StatsInterceptor.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/81f49ec6/container/openejb-core/src/main/java/org/apache/openejb/monitoring/StatsInterceptor.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/monitoring/StatsInterceptor.java b/container/openejb-core/src/main/java/org/apache/openejb/monitoring/StatsInterceptor.java
index f9fa1e7..7fe34ea 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/monitoring/StatsInterceptor.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/monitoring/StatsInterceptor.java
@@ -113,7 +113,7 @@ public class StatsInterceptor {
         long end = System.nanoTime();
         org.apache.openejb.util.Logger
                 .getInstance(LogCategory.MONITORING, "org.apache.openejb.monitoring")
-                .info("instance.created", invocationContext.getTarget().getClass().getName(), end - start);
+                .debug("instance.created", invocationContext.getTarget().getClass().getName(), end - start);
     }
 
     public Method PreDestroy() throws NoSuchMethodException {
@@ -127,7 +127,7 @@ public class StatsInterceptor {
         long end = System.nanoTime();
         org.apache.openejb.util.Logger
                 .getInstance(LogCategory.MONITORING, "org.apache.openejb.monitoring")
-                .info("instance.discarded", invocationContext.getTarget().getClass().getName(), end - start);
+                .debug("instance.discarded", invocationContext.getTarget().getClass().getName(), end - start);
     }
 
     public Method PostActivate() throws NoSuchMethodException {