aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-06-19 18:54:27 +0300
committerGravatar Vitaly Takmazov2019-06-19 18:54:27 +0300
commit993b4665b11e04ee1b67e16f14292491fbb380bb (patch)
tree534941bcfc10dacebe5a3397976c3b5e9ea452f7 /src/main/java
parent6ac759abe3ac2c576af441f588caf01621976576 (diff)
ActivityPub: fix logger
Diffstat (limited to 'src/main/java')
-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 7ec3f228..c4b7d58a 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 e535b3e5..62538585 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;