diff --git a/src/main/java/org/datadog/jmxfetch/App.java b/src/main/java/org/datadog/jmxfetch/App.java index cd99c1c00..1e9c2bb4c 100644 --- a/src/main/java/org/datadog/jmxfetch/App.java +++ b/src/main/java/org/datadog/jmxfetch/App.java @@ -723,8 +723,6 @@ private boolean getJsonConfigs() { return update; } - log.debug("Received the following JSON configs: " + response.getResponseBody()); - InputStream jsonInputStream = IOUtils.toInputStream(response.getResponseBody(), UTF_8); JsonParser parser = new JsonParser(jsonInputStream); int timestamp = ((Integer) parser.getJsonTimestamp()).intValue(); @@ -733,6 +731,9 @@ private boolean getJsonConfigs() { lastJsonConfigTs = timestamp; update = true; log.info("update is in order - updating timestamp: " + lastJsonConfigTs); + for (String checkName : adJsonConfigs.keySet()) { + log.debug("received config for check '" + checkName + "'"); + } } } catch (JsonProcessingException e) { log.error("error processing JSON response: " + e);