aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-06-05 15:27:34 +0300
committerGravatar Vitaly Takmazov2019-06-05 15:27:34 +0300
commitf0622a5d6c4740bee50b7f650623ad1792479fb8 (patch)
treee8641d598bda60f5da08ff24010039535e1d1786 /src/main/java/com
parenta96af7b5346b890fd3b330aa169647fce03ac9a9 (diff)
ActivityPub: log outbound contexts
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/juick/server/SignatureManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/SignatureManager.java b/src/main/java/com/juick/server/SignatureManager.java
index 904f89af..b64b6bd7 100644
--- a/src/main/java/com/juick/server/SignatureManager.java
+++ b/src/main/java/com/juick/server/SignatureManager.java
@@ -62,7 +62,7 @@ public class SignatureManager {
requestHeaders.add("Host", host);
requestHeaders.add("Signature", signatureString);
HttpEntity<Context> request = new HttpEntity<>(Context.build(data), requestHeaders);
- logger.info("Sending context: {}", jsonMapper.writeValueAsString(data));
+ logger.info("Sending context to {}: {}", to.getId(), jsonMapper.writeValueAsString(data));
logger.info("Request date: {}", requestDate);
ResponseEntity<Void> response = apClient.postForEntity(inbox, request, Void.class);
logger.info("accepted follower: {}", response.getStatusCodeValue());