From 633e6a2473101c9ed34e668a281bc89324aa35f6 Mon Sep 17 00:00:00 2001 From: Tyler Benson Date: Tue, 21 May 2019 09:42:17 -0700 Subject: [PATCH] Code review fixes --- src/main/java/org/datadog/jmxfetch/App.java | 2 +- .../java/org/datadog/jmxfetch/tasks/TestTaskProcessor.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/datadog/jmxfetch/App.java b/src/main/java/org/datadog/jmxfetch/App.java index 20ed234d6..cd99c1c00 100644 --- a/src/main/java/org/datadog/jmxfetch/App.java +++ b/src/main/java/org/datadog/jmxfetch/App.java @@ -830,7 +830,7 @@ public void init(boolean forceNewConnection) { for (LinkedHashMap configInstance : configInstances) { if (appConfig.isTargetDirectInstances() != isDirectInstance(configInstance)) { - log.debug("Skipping instance '{}'. targetDirectInstances={} jvm_direct={}", + log.info("Skipping instance '{}'. targetDirectInstances={} != jvm_direct={}", name, appConfig.isTargetDirectInstances(), isDirectInstance(configInstance)); diff --git a/src/test/java/org/datadog/jmxfetch/tasks/TestTaskProcessor.java b/src/test/java/org/datadog/jmxfetch/tasks/TestTaskProcessor.java index 7bad41c4c..a8f728566 100644 --- a/src/test/java/org/datadog/jmxfetch/tasks/TestTaskProcessor.java +++ b/src/test/java/org/datadog/jmxfetch/tasks/TestTaskProcessor.java @@ -24,8 +24,8 @@ public class TestTaskProcessor { private static List instances = null; - class TestSimpleTask extends InstanceTask { - TestSimpleTask(Instance instance) { + class TestSimpleTask extends InstanceTask { + TestSimpleTask(Instance instance) { super(instance); }