Skip to content

Commit 15f8244

Browse files
committed
Add debug log for proxy connection planner
1 parent 6aac9e2 commit 15f8244

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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)