diff options
author | Vitaly Takmazov | 2019-06-19 18:54:27 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2019-06-19 18:54:27 +0300 |
commit | 993b4665b11e04ee1b67e16f14292491fbb380bb (patch) | |
tree | 534941bcfc10dacebe5a3397976c3b5e9ea452f7 /src/main/java | |
parent | 6ac759abe3ac2c576af441f588caf01621976576 (diff) |
ActivityPub: fix logger
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/juick/server/api/activity/Profile.java | 2 | ||||
-rw-r--r-- | src/main/java/com/juick/server/configuration/ActivityPubClientErrorHandler.java | 2 |
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; |