Skip to content

Commit 555ecd9

Browse files
committed
Update after review
1 parent 12fc533 commit 555ecd9

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

clients/line-bot-client-base/src/main/java/com/linecorp/bot/client/base/ApiClientBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public ApiClientBuilder(URI apiEndPoint, Class<T> clientClass, ExceptionBuilder
9797

9898
private Integer maxRequestsPerHost = 5;
9999

100-
private boolean usingDefaultLogger = true; // Just kept the same behavior as the original code
100+
private boolean usingDefaultLogger = true;
101101

102102
/**
103103
* API Endpoint.

clients/line-bot-client-base/src/main/java/com/linecorp/bot/client/base/http/HttpInterceptor.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,6 @@
1818

1919
import java.io.IOException;
2020

21-
import org.slf4j.Logger;
22-
import org.slf4j.LoggerFactory;
23-
24-
import okhttp3.Interceptor;
25-
import okhttp3.logging.HttpLoggingInterceptor;
26-
2721
public interface HttpInterceptor {
2822
HttpResponse intercept(HttpChain httpChain) throws IOException;
29-
30-
static Interceptor loggingInterceptor() {
31-
final Logger slf4jLogger = LoggerFactory.getLogger("com.linecorp.bot.client.wire");
32-
return new HttpLoggingInterceptor(slf4jLogger::info)
33-
.setLevel(HttpLoggingInterceptor.Level.BODY);
34-
}
3523
}

0 commit comments

Comments
 (0)