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/16 13:06:34 UTC

[activemq-artemis] branch new-logging updated: removing some non used logging

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


The following commit(s) were added to refs/heads/new-logging by this push:
     new 85a45af265 removing some non used logging
85a45af265 is described below

commit 85a45af2652ca58ecad8ab9a961f159c20a46245
Author: Clebert Suconic <cl...@apache.org>
AuthorDate: Mon May 16 09:06:14 2022 -0400

    removing some non used logging
---
 .../apache/activemq/artemis/cli/commands/Configurable.java   |  2 +-
 .../integration/bootstrap/ActiveMQBootstrapLogger.java       | 12 ------------
 2 files changed, 1 insertion(+), 13 deletions(-)

diff --git a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Configurable.java b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Configurable.java
index 7ad4eb0ba3..d4e47cd988 100644
--- a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Configurable.java
+++ b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Configurable.java
@@ -146,7 +146,7 @@ public abstract class Configurable extends ActionAbstract {
          // To support Windows paths as explained above.
          configuration = configuration.replace("\\", "/");
 
-         ActiveMQBootstrapLogger.LOGGER.usingBrokerConfig(configuration);
+         logger.debug("Using broker configuration: {}", configuration);
       }
 
       return configuration;
diff --git a/artemis-cli/src/main/java/org/apache/activemq/artemis/integration/bootstrap/ActiveMQBootstrapLogger.java b/artemis-cli/src/main/java/org/apache/activemq/artemis/integration/bootstrap/ActiveMQBootstrapLogger.java
index bee7d1630d..9dae7de582 100644
--- a/artemis-cli/src/main/java/org/apache/activemq/artemis/integration/bootstrap/ActiveMQBootstrapLogger.java
+++ b/artemis-cli/src/main/java/org/apache/activemq/artemis/integration/bootstrap/ActiveMQBootstrapLogger.java
@@ -52,18 +52,6 @@ public interface ActiveMQBootstrapLogger {
    @LogMessage(id = 101003, value = "Halting ActiveMQ Artemis Server after user request", level = LogMessage.Level.INFO)
    void serverKilled();
 
-   @LogMessage(id = 101005, value = "Using broker configuration: {}", level = LogMessage.Level.DEBUG)
-   void usingBrokerConfig(String location);
-
-   @LogMessage(id = 102000, value = "Error during undeployment: {}", level = LogMessage.Level.WARN)
-   void errorDuringUndeployment(@Cause Throwable t, String name);
-
    @LogMessage(id = 104000, value = "Failed to delete file {}", level = LogMessage.Level.ERROR)
    void errorDeletingFile(String name);
-
-   @LogMessage(id = 104001, value = "Failed to start server", level = LogMessage.Level.ERROR)
-   void errorStartingServer(@Cause Exception e);
-
-   @LogMessage(id = 104002, value = "The print data operation failed: {}", level = LogMessage.Level.ERROR)
-   void printDataFailed(String exceptionMessage);
 }