Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

only log check names instead of their config #229

Merged
merged 2 commits into from
May 24, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/main/java/org/datadog/jmxfetch/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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);
Expand Down