You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ro...@apache.org on 2022/06/27 16:54:13 UTC

[activemq-artemis] 02/04: fix log category naming

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 e735a88682e1849cc91085afd34ebea78be65870
Author: Robbie Gemmell <ro...@apache.org>
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) {