diff --git a/src/main/java/de/fraunhofer/iosb/ilt/sensorthingsimporter/utils/UrlUtils.java b/src/main/java/de/fraunhofer/iosb/ilt/sensorthingsimporter/utils/UrlUtils.java index f10c3f6..895149c 100644 --- a/src/main/java/de/fraunhofer/iosb/ilt/sensorthingsimporter/utils/UrlUtils.java +++ b/src/main/java/de/fraunhofer/iosb/ilt/sensorthingsimporter/utils/UrlUtils.java @@ -113,9 +113,9 @@ public static HttpResponse readNormalUrl(String targetUrl, Charset charset, List String data = entityToString(entity, charset); if (LOGGER.isTraceEnabled()) { - LOGGER.trace("Received: ", Utils.cleanForLogging(data)); + LOGGER.trace("Received: {}", Utils.cleanForLogging(data)); } else if (LOGGER.isDebugEnabled()) { - LOGGER.trace("Received: ", Utils.cleanForLogging(data, 100)); + LOGGER.debug("Received: {}", Utils.cleanForLogging(data, 100)); } return new HttpResponse(statusCode, data, response.getAllHeaders());