This is an automated email from the ASF dual-hosted git repository. robbie pushed a commit to branch new-logging in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
commit 68991511479bb81a339a5ff98dc961cb26a0de89 Author: Robbie Gemmell <[email protected]> AuthorDate: Mon Jun 27 17:20:42 2022 +0100 fix log category naming --- .../java/org/apache/activemq/artemis/logprocessor/CodeFactory.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/artemis-log-facade/src/main/java/org/apache/activemq/artemis/logprocessor/CodeFactory.java b/artemis-log-facade/src/main/java/org/apache/activemq/artemis/logprocessor/CodeFactory.java index 6f126c461d..03695d9d85 100644 --- a/artemis-log-facade/src/main/java/org/apache/activemq/artemis/logprocessor/CodeFactory.java +++ b/artemis-log-facade/src/main/java/org/apache/activemq/artemis/logprocessor/CodeFactory.java @@ -24,9 +24,8 @@ import static java.security.AccessController.doPrivileged; public class CodeFactory { - public static <T> T getCodeClass(final Class<T> type) { - return getCodeClass(type, type.getClass().getName()); + return getCodeClass(type, type.getName()); } public static <T> T getCodeClass(final Class<T> type, String category) {
