aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/config
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-02-16 01:35:48 +0300
committerGravatar Vitaly Takmazov2023-02-16 01:44:08 +0300
commit929db81f1fea5059f9661ba5fad3708c7d6b85e9 (patch)
treea6862c6e9690e51c8ac0b4f32efd692bdc840e19 /src/main/java/com/juick/config
parent1695469b2c2d0f72ef63ad72070a464e42b2086a (diff)
ActivityPub: improve logging
Diffstat (limited to 'src/main/java/com/juick/config')
-rw-r--r--src/main/java/com/juick/config/HttpClientConfig.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/config/HttpClientConfig.java b/src/main/java/com/juick/config/HttpClientConfig.java
index 18b56293..457a63c8 100644
--- a/src/main/java/com/juick/config/HttpClientConfig.java
+++ b/src/main/java/com/juick/config/HttpClientConfig.java
@@ -37,7 +37,7 @@ public class HttpClientConfig {
public OkHttpClient httpClient() {
return new OkHttpClient.Builder()
.addInterceptor(new HttpLoggingInterceptor(logger::debug)
- .setLevel(HttpLoggingInterceptor.Level.HEADERS))
+ .setLevel(HttpLoggingInterceptor.Level.BASIC))
.addInterceptor(new ActivityPubRequestInterceptor())
.addInterceptor(new ActivityPubClientErrorHandler(applicationEventPublisher))
.build();