From d451020ae3dd0668e370e4957047d2832b07fa23 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 8 Feb 2023 22:51:13 +0300 Subject: ActivityPub: log follower id in Follow requests --- src/main/java/com/juick/ActivityPubManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/juick/ActivityPubManager.java b/src/main/java/com/juick/ActivityPubManager.java index 0e062e8f..62faccf6 100644 --- a/src/main/java/com/juick/ActivityPubManager.java +++ b/src/main/java/com/juick/ActivityPubManager.java @@ -96,7 +96,7 @@ public class ActivityPubManager implements ActivityListener, NotificationListene try { activityPubService.post(me, follower, accept); socialService.addFollower(followedUser, follower.getId()); - logger.info("Follower added for {}", followedUser.getName()); + logger.info("{} started to follow {}", follower.getId(), followedUser.getName()); } catch (InterruptedException | IOException | NoSuchAlgorithmException e) { logger.info("activitypub exception", e); } -- cgit v1.2.3