camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/2] git commit: No need to log if JMX load performance stats is enabled at INFO level when starting Camel.
Date Thu, 22 Aug 2013 07:13:59 GMT
Updated Branches:
  refs/heads/master 6f489f1d8 -> 5a986c507


No need to log if JMX load performance stats is enabled at INFO level when starting Camel.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/5a986c50
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/5a986c50
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/5a986c50

Branch: refs/heads/master
Commit: 5a986c50755c657175c8fb5861f1821fabdaa312
Parents: 9f527e4
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Thu Aug 22 09:10:42 2013 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Thu Aug 22 09:13:49 2013 +0200

----------------------------------------------------------------------
 .../camel/management/DefaultManagementLifecycleStrategy.java      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/5a986c50/camel-core/src/main/java/org/apache/camel/management/DefaultManagementLifecycleStrategy.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/management/DefaultManagementLifecycleStrategy.java
b/camel-core/src/main/java/org/apache/camel/management/DefaultManagementLifecycleStrategy.java
index 441d832..2528715 100644
--- a/camel-core/src/main/java/org/apache/camel/management/DefaultManagementLifecycleStrategy.java
+++ b/camel-core/src/main/java/org/apache/camel/management/DefaultManagementLifecycleStrategy.java
@@ -889,8 +889,9 @@ public class DefaultManagementLifecycleStrategy extends ServiceSupport
implement
             // we are disabled either if configured explicit, or if level is off
             boolean disabled = !camelContext.getManagementStrategy().isLoadStatisticsEnabled()
                     || camelContext.getManagementStrategy().getStatisticsLevel() == ManagementStatisticsLevel.Off;
+
+            LOG.debug("Load performance statistics {}", disabled ? "disabled" : "enabled");
             if (!disabled) {
-                LOG.info("Load performance statistics enabled.");
                 // must use 1 sec interval as the load statistics is based on 1 sec calculations
                 timerListenerManager.setInterval(1000);
                 // we have to defer enlisting timer lister manager as a service until CamelContext
has been started


Mime
View raw message