camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject camel git commit: CAMEL-9342: Metrics component should log at debug level
Date Wed, 25 Nov 2015 16:29:34 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.16.x 89037d679 -> fc2a19483


CAMEL-9342: Metrics component should log at debug level


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

Branch: refs/heads/camel-2.16.x
Commit: fc2a19483172ee287b8b3e3e9307c6a0ad87637c
Parents: 89037d6
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Wed Nov 25 17:24:18 2015 +0100
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Wed Nov 25 17:28:24 2015 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/component/metrics/MetricsComponent.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/fc2a1948/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/MetricsComponent.java
----------------------------------------------------------------------
diff --git a/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/MetricsComponent.java
b/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/MetricsComponent.java
index 3b4124e..71ea228 100644
--- a/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/MetricsComponent.java
+++ b/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/MetricsComponent.java
@@ -101,6 +101,7 @@ public class MetricsComponent extends UriEndpointComponent {
                 .outputTo(LOG)
                 .convertRatesTo(TimeUnit.SECONDS)
                 .convertDurationsTo(TimeUnit.MILLISECONDS)
+                .withLoggingLevel(Slf4jReporter.LoggingLevel.DEBUG)
                 .build();
         reporter.start(DEFAULT_REPORTING_INTERVAL_SECONDS, TimeUnit.SECONDS);
         return registry;


Mime
View raw message