diff options
author | Vitaly Takmazov | 2019-06-05 15:27:34 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2019-06-05 15:27:34 +0300 |
commit | f0622a5d6c4740bee50b7f650623ad1792479fb8 (patch) | |
tree | e8641d598bda60f5da08ff24010039535e1d1786 /src | |
parent | a96af7b5346b890fd3b330aa169647fce03ac9a9 (diff) |
ActivityPub: log outbound contexts
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/juick/server/SignatureManager.java | 2 |
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()); |