Skip to content

Commit 272e618

Browse files
roberth-kslandelle
authored andcommitted
Demote log level on trivial 401 intercept (AsyncHttpClient#1260)
Do not log info if proxy realm not configured
1 parent 300a6c3 commit 272e618

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/src/main/java/org/asynchttpclient/netty/handler/intercept/ProxyUnauthorized407Interceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public boolean exitAfterHandling407(//
6868
Realm proxyRealm = future.getProxyRealm();
6969

7070
if (proxyRealm == null) {
71-
LOGGER.info("Can't handle 407 as there's no proxyRealm");
71+
LOGGER.debug("Can't handle 407 as there's no proxyRealm");
7272
return false;
7373
}
7474

client/src/main/java/org/asynchttpclient/netty/handler/intercept/Unauthorized401Interceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public boolean exitAfterHandling401(//
6464
HttpRequest httpRequest) {
6565

6666
if (realm == null) {
67-
LOGGER.info("Can't handle 401 as there's no realm");
67+
LOGGER.debug("Can't handle 401 as there's no realm");
6868
return false;
6969
}
7070

0 commit comments

Comments
 (0)