forked from D-Net/dnet-hadoop
cleaned log
This commit is contained in:
parent
64311b8be4
commit
27445ccdaa
|
@ -83,8 +83,6 @@ public class MultiAttemptsHttpConnector {
|
|||
throw new CollectorException(msg);
|
||||
}
|
||||
|
||||
log.info("Request attempt {} [{}]", retryNumber, requestUrl);
|
||||
|
||||
InputStream input = null;
|
||||
|
||||
try {
|
||||
|
@ -104,9 +102,9 @@ public class MultiAttemptsHttpConnector {
|
|||
urlConn.addRequestProperty(HttpHeaders.AUTHORIZATION, String.format("Bearer %s", getAuthToken()));
|
||||
}
|
||||
|
||||
if (log.isDebugEnabled()) {
|
||||
logHeaderFields(urlConn);
|
||||
}
|
||||
// if (log.isDebugEnabled()) {
|
||||
// logHeaderFields(urlConn);
|
||||
// }
|
||||
|
||||
int retryAfter = obtainRetryAfter(urlConn.getHeaderFields());
|
||||
if (is2xx(urlConn.getResponseCode())) {
|
||||
|
|
Loading…
Reference in New Issue