From 929db81f1fea5059f9661ba5fad3708c7d6b85e9 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 16 Feb 2023 01:35:48 +0300 Subject: ActivityPub: improve logging --- src/main/java/com/juick/config/HttpClientConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/juick/config') 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(); -- cgit v1.2.3