From 72ec0a1ae14f9e450f62ccfc70da346d7a2a30b5 Mon Sep 17 00:00:00 2001 From: yma Date: Thu, 15 Aug 2024 12:37:52 +0800 Subject: [PATCH] Add debug log for GlobalProxyConfig producer --- .../indy/subsys/http/IndyGlobalProxyConfigProducer.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/subsys/http/src/main/java/org/commonjava/indy/subsys/http/IndyGlobalProxyConfigProducer.java b/subsys/http/src/main/java/org/commonjava/indy/subsys/http/IndyGlobalProxyConfigProducer.java index 5ca775bd9c..62613bab61 100644 --- a/subsys/http/src/main/java/org/commonjava/indy/subsys/http/IndyGlobalProxyConfigProducer.java +++ b/subsys/http/src/main/java/org/commonjava/indy/subsys/http/IndyGlobalProxyConfigProducer.java @@ -80,6 +80,14 @@ public List getAllowHttpJobTypes() { return list; } + + @Override + public String toString() + { + return String.format( "GlobalProxyConfig [host=%s, port=%s, allowHttpJobTypes=%s]", getHost(), + getPort(), allowTypes ); + } }; + logger.debug( "Global proxy config produced: {}", globalProxyConfig ); } }