diff options
Diffstat (limited to 'src/main/java/com/juick/server/SignatureManager.java')
-rw-r--r-- | src/main/java/com/juick/server/SignatureManager.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/com/juick/server/SignatureManager.java b/src/main/java/com/juick/server/SignatureManager.java index b64b6bd7..fc458533 100644 --- a/src/main/java/com/juick/server/SignatureManager.java +++ b/src/main/java/com/juick/server/SignatureManager.java @@ -38,7 +38,7 @@ import static com.juick.server.api.activity.model.Context.ACTIVITY_MEDIA_TYPE; @Component public class SignatureManager { - private static final Logger logger = LoggerFactory.getLogger(ActivityPubManager.class); + private static final Logger logger = LoggerFactory.getLogger(SignatureManager.class); @Inject private KeystoreManager keystoreManager; @Inject @@ -63,9 +63,8 @@ public class SignatureManager { requestHeaders.add("Signature", signatureString); HttpEntity<Context> request = new HttpEntity<>(Context.build(data), requestHeaders); 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()); + logger.info("Remote response: {}", response.getStatusCodeValue()); } public String addSignature(Person from, String host, String method, String path, String dateString) throws IOException { |