aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/juick/server/api/activity/Profile.java2
-rw-r--r--src/main/java/com/juick/server/configuration/ActivityPubClientErrorHandler.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/juick/server/api/activity/Profile.java b/src/main/java/com/juick/server/api/activity/Profile.java
index 7ec3f2284..c4b7d58a5 100644
--- a/src/main/java/com/juick/server/api/activity/Profile.java
+++ b/src/main/java/com/juick/server/api/activity/Profile.java
@@ -62,7 +62,7 @@ import java.util.stream.Stream;
@RestController
public class Profile {
- private static final Logger logger = LoggerFactory.getLogger(Profile.class);
+ private static final Logger logger = LoggerFactory.getLogger("ActivityPub");
@Inject
private UserService userService;
@Inject
diff --git a/src/main/java/com/juick/server/configuration/ActivityPubClientErrorHandler.java b/src/main/java/com/juick/server/configuration/ActivityPubClientErrorHandler.java
index e535b3e5d..625385852 100644
--- a/src/main/java/com/juick/server/configuration/ActivityPubClientErrorHandler.java
+++ b/src/main/java/com/juick/server/configuration/ActivityPubClientErrorHandler.java
@@ -19,7 +19,7 @@ import java.nio.charset.StandardCharsets;
@Component
public class ActivityPubClientErrorHandler extends DefaultResponseErrorHandler {
- private static final Logger logger = LoggerFactory.getLogger(ActivityPubClientErrorHandler.class);
+ private static final Logger logger = LoggerFactory.getLogger("ActivityPub");
@Inject
private ApplicationEventPublisher applicationEventPublisher;