Skip to content

Commit 1cc0f5e

Browse files
authored
Merge pull request #61 from yma96/master
Add debug log for proxy connection planner
2 parents 0227d89 + 15f8244 commit 1cc0f5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/org/commonjava/util/jhttpc/HttpFactory.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ public CloseableHttpClient createClient( final SiteConfig location, final List<H
142142

143143
if ( location.getProxyHost() != null )
144144
{
145+
logger.debug( "Plan to use proxy for connection: host: {}, port: {}", location.getProxyHost(),
146+
location.getProxyPort() );
145147
final HttpRoutePlanner planner = new DefaultProxyRoutePlanner(
146148
new HttpHost( location.getProxyHost(), getProxyPort( location ) ) );
147149
builder.setRoutePlanner( planner );

0 commit comments

Comments
 (0)