From dd35ff888c6709f4cef54b9c173de7ca92501aeb Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Mon, 21 Sep 2020 11:07:53 +0200 Subject: add some more logging --- .../src/main/java/org/apache/commons/httpclient/MOAHttpClient.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'id') diff --git a/id/server/moa-id-commons/src/main/java/org/apache/commons/httpclient/MOAHttpClient.java b/id/server/moa-id-commons/src/main/java/org/apache/commons/httpclient/MOAHttpClient.java index 751e27b95..1a295df4b 100644 --- a/id/server/moa-id-commons/src/main/java/org/apache/commons/httpclient/MOAHttpClient.java +++ b/id/server/moa-id-commons/src/main/java/org/apache/commons/httpclient/MOAHttpClient.java @@ -161,8 +161,10 @@ public class MOAHttpClient extends HttpClient { { String pattern = tokenizer.nextToken(); pattern = pattern.replaceAll("\\.", "\\\\.").replaceAll("\\*", ".*"); + Logger.trace("Check pattern: "+ pattern + " to host: " + targetHost); if (targetHost.matches(pattern)) { + Logger.debug("Request to: " + targetHost + " requires no HTTP Proxy."); requiresProxy = false; break; } -- cgit v1.2.3