From c2f696c2604b283dfda543eb6f417531c72b7f4a Mon Sep 17 00:00:00 2001 From: Maxime Mouial Date: Tue, 11 Jun 2019 12:00:30 -0600 Subject: [PATCH] No longer log check configuration Configuration might contain password/secret --- src/main/java/org/datadog/jmxfetch/App.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/datadog/jmxfetch/App.java b/src/main/java/org/datadog/jmxfetch/App.java index 00f57f652..47573a319 100644 --- a/src/main/java/org/datadog/jmxfetch/App.java +++ b/src/main/java/org/datadog/jmxfetch/App.java @@ -309,7 +309,7 @@ public boolean processAutoDiscovery(byte[] buffer) { } String name = getAutoDiscoveryName(config); - LOGGER.debug("Attempting to apply config. Name: " + name + "\nconfig: \n" + config); + LOGGER.debug("Attempting to apply config. Name: " + name); InputStream stream = new ByteArrayInputStream(config.getBytes(UTF_8)); YamlParser yaml = new YamlParser(stream);