mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-06 11:29:30 +00:00
reduce spurious logging
This commit is contained in:
parent
5967d75fa2
commit
bbac44fc52
@ -34,8 +34,8 @@ public class RetryInterceptor implements Interceptor {
|
|||||||
try {
|
try {
|
||||||
// If we are retrying a failed request that failed due to a bad response from the server, we must close it first
|
// If we are retrying a failed request that failed due to a bad response from the server, we must close it first
|
||||||
if (response != null) {
|
if (response != null) {
|
||||||
System.out.println("Previous " + chain.request().method() + " attempt returned HTTP<" + (response.code())
|
// System.out.println("Previous " + chain.request().method() + " attempt returned HTTP<" + (response.code())
|
||||||
+ "> from url -> " + chain.request().url() + ".");
|
// + "> from url -> " + chain.request().url() + ".");
|
||||||
response.close();
|
response.close();
|
||||||
}
|
}
|
||||||
// System.out.println(chain.request().method() + " attempt <" + (retryCounter + 1) + "> to url -> " + chain.request().url());
|
// System.out.println(chain.request().method() + " attempt <" + (retryCounter + 1) + "> to url -> " + chain.request().url());
|
||||||
|
@ -34,8 +34,8 @@ public class RetryInterceptor implements Interceptor {
|
|||||||
try {
|
try {
|
||||||
// If we are retrying a failed request that failed due to a bad response from the server, we must close it first
|
// If we are retrying a failed request that failed due to a bad response from the server, we must close it first
|
||||||
if (response != null) {
|
if (response != null) {
|
||||||
System.out.println("Previous " + chain.request().method() + " attempt returned HTTP<" + (response.code())
|
// System.out.println("Previous " + chain.request().method() + " attempt returned HTTP<" + (response.code())
|
||||||
+ "> from url -> " + chain.request().url() + ".");
|
// + "> from url -> " + chain.request().url() + ".");
|
||||||
response.close();
|
response.close();
|
||||||
}
|
}
|
||||||
// System.out.println(chain.request().method() + " attempt <" + (retryCounter + 1) + "> to url -> " + chain.request().url());
|
// System.out.println(chain.request().method() + " attempt <" + (retryCounter + 1) + "> to url -> " + chain.request().url());
|
||||||
|
@ -35,8 +35,8 @@ public class RetryInterceptor implements Interceptor {
|
|||||||
try {
|
try {
|
||||||
// If we are retrying a failed request that failed due to a bad response from the server, we must close it first
|
// If we are retrying a failed request that failed due to a bad response from the server, we must close it first
|
||||||
if (response != null) {
|
if (response != null) {
|
||||||
System.out.println("Previous " + chain.request().method() + " attempt returned HTTP<" + (response.code())
|
// System.out.println("Previous " + chain.request().method() + " attempt returned HTTP<" + (response.code())
|
||||||
+ "> from url -> " + chain.request().url() + ".");
|
// + "> from url -> " + chain.request().url() + ".");
|
||||||
response.close();
|
response.close();
|
||||||
}
|
}
|
||||||
// System.out.println(chain.request().method() + " attempt <" + (retryCounter + 1) + "> to url -> " + chain.request().url());
|
// System.out.println(chain.request().method() + " attempt <" + (retryCounter + 1) + "> to url -> " + chain.request().url());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user