diff --git a/src/main/java/org/datadog/jmxfetch/Instance.java b/src/main/java/org/datadog/jmxfetch/Instance.java index 2290e20e..06d86006 100644 --- a/src/main/java/org/datadog/jmxfetch/Instance.java +++ b/src/main/java/org/datadog/jmxfetch/Instance.java @@ -165,8 +165,8 @@ public Instance( this.maxReturnedMetrics = Integer.parseInt((String) maxReturnedMetrics); } catch (NumberFormatException e) { log.warn( - "Cannot convert max_returned_metrics to integer in your instance configuration. Defaulting to '{}'.", - MAX_RETURNED_METRICS); + "Cannot convert max_returned_metrics to integer in your instance configuration." + + " Defaulting to {}.", MAX_RETURNED_METRICS); this.maxReturnedMetrics = MAX_RETURNED_METRICS; } } else {