diff --git a/src/main/java/metrics_influxdb/measurements/HttpInlinerSender.java b/src/main/java/metrics_influxdb/measurements/HttpInlinerSender.java index 6f2e9e6..3f62212 100644 --- a/src/main/java/metrics_influxdb/measurements/HttpInlinerSender.java +++ b/src/main/java/metrics_influxdb/measurements/HttpInlinerSender.java @@ -78,7 +78,7 @@ protected boolean doSend(Collection measures) { LOGGER.info("{} Measures sent to {}://{}:{} but not saved by infludb, reason:\n{}", measures.size(), writeURL.getProtocol(), writeURL.getHost(), writeURL.getPort(), Miscellaneous.readFrom(con.getInputStream())); break; default: - LOGGER.info("failed to send {} Measures to {}://{}:{}, HTTP CODE received: {}\n", measures.size(), writeURL.getProtocol(), writeURL.getHost(), writeURL.getPort(), responseCode, Miscellaneous.readFrom(con.getInputStream())); + LOGGER.info("failed to send {} Measures to {}://{}:{}, HTTP CODE received: {}\n", measures.size(), writeURL.getProtocol(), writeURL.getHost(), writeURL.getPort(), responseCode); break; }