Skip to content

Commit 0e99fdc

Browse files
committed
Adding some additional logging in the networking layer.
1 parent 5f0c94d commit 0e99fdc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
allprojects {
1717
group = 'com.spectralogic.ds3'
18-
version = '1.1.0-RC4'
18+
version = '1.1.0-RC5'
1919
}
2020

2121
subprojects {

ds3-sdk/src/main/java/com/spectralogic/ds3client/NetworkClientImpl.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,10 @@ public WebResponse getResponse(final Ds3Request request) throws IOException, Sig
109109
final CloseableHttpResponse response = requestExecutor.execute();
110110
if (response.getStatusLine().getStatusCode() == HttpStatus.SC_TEMPORARY_REDIRECT) {
111111
redirectCount++;
112+
LOG.debug("Performing retry - attempt: " + redirectCount);
112113
}
113114
else {
115+
LOG.info("Got response from server");
114116
return new WebResponseImpl(response);
115117
}
116118
} while (redirectCount < this.connectionDetails.getRetries());

0 commit comments

Comments
 (0)