You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2022/05/11 13:50:47 UTC

[activemq-artemis] 02/23: removing logger level

This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch new-logging
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git

commit 43dad64e7d6c106b083c1581b378874859e3d9c6
Author: Clebert Suconic <cl...@apache.org>
AuthorDate: Fri Apr 29 16:50:43 2022 -0400

    removing logger level
---
 .../activemq/artemis/logprocessor/annotation/LogMessage.java       | 7 -------
 .../activemq/artemis/core/server/ActiveMQServerNewLogger.java      | 5 +----
 2 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/artemis-log-processor/src/main/java/org/apache/activemq/artemis/logprocessor/annotation/LogMessage.java b/artemis-log-processor/src/main/java/org/apache/activemq/artemis/logprocessor/annotation/LogMessage.java
index 90899b3069..bcaee8a093 100644
--- a/artemis-log-processor/src/main/java/org/apache/activemq/artemis/logprocessor/annotation/LogMessage.java
+++ b/artemis-log-processor/src/main/java/org/apache/activemq/artemis/logprocessor/annotation/LogMessage.java
@@ -30,11 +30,4 @@ public @interface LogMessage {
 
    String value();
 
-   public static enum Level {
-      FATAL, ERROR, WARN, INFO, DEBUG, TRACE;
-
-      private Level() {
-      }
-   }
-
 }
diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerNewLogger.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerNewLogger.java
index ca1e80bd8f..db6070f923 100644
--- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerNewLogger.java
+++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerNewLogger.java
@@ -23,12 +23,9 @@ import org.apache.activemq.artemis.logprocessor.annotation.LogMessage;
 @ArtemisBundle(projectCode = "AMQ")
 public interface ActiveMQServerNewLogger {
 
-   /**
-    * The default logger.
-    */
    ActiveMQServerNewLogger LOGGER = CodeFactory.getMessageLogger(ActiveMQServerNewLogger.class);
 
    @LogMessage(id = 223000, value = "This is great, {0}")
-   void simpleTest(String componentClassName);
+   void simpleTest(String message);
 }