From 84620f12cd18ceaf1396a522c8b2077e24ec43c8 Mon Sep 17 00:00:00 2001 From: Gonzalo Date: Thu, 31 Oct 2024 17:59:31 -0300 Subject: [PATCH] Remove not useful redundant logging --- gxweb/src/main/java/com/genexus/internet/HttpAjaxContext.java | 3 +-- java/src/main/java/com/genexus/internet/HttpClientJavaLib.java | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/gxweb/src/main/java/com/genexus/internet/HttpAjaxContext.java b/gxweb/src/main/java/com/genexus/internet/HttpAjaxContext.java index 4ce3ff9e4..2f11b70cd 100644 --- a/gxweb/src/main/java/com/genexus/internet/HttpAjaxContext.java +++ b/gxweb/src/main/java/com/genexus/internet/HttpAjaxContext.java @@ -727,8 +727,7 @@ private boolean checkFileExists(String fileName) boolean fileExists = false; try { - fileExists = ApplicationContext.getInstance().checkIfResourceExist(getDefaultPath() + staticContentBase + fileName); - com.genexus.diagnostics.Log.info("Searching if file exists (" + fileName + "). Found: " + String.valueOf(fileExists)); + fileExists = ApplicationContext.getInstance().checkIfResourceExist(getDefaultPath() + staticContentBase + fileName); } catch (Exception e) { diff --git a/java/src/main/java/com/genexus/internet/HttpClientJavaLib.java b/java/src/main/java/com/genexus/internet/HttpClientJavaLib.java index 895931ccc..875cbb51f 100644 --- a/java/src/main/java/com/genexus/internet/HttpClientJavaLib.java +++ b/java/src/main/java/com/genexus/internet/HttpClientJavaLib.java @@ -70,8 +70,7 @@ public HttpClientJavaLib() { getPoolInstance(); ConnectionKeepAliveStrategy myStrategy = generateKeepAliveStrategy(); httpClientBuilder = HttpClients.custom().setConnectionManager(connManager).setConnectionManagerShared(true).setKeepAliveStrategy(myStrategy); - cookies = new BasicCookieStore(); - logger.info("Using apache http client implementation"); + cookies = new BasicCookieStore(); streamsToClose = new Vector<>(); }