activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [2/2] activemq-artemis git commit: ARTEMIS-950 Change log level from INFO to WARN
Date Wed, 08 Feb 2017 16:55:10 GMT
ARTEMIS-950 Change log level from INFO to WARN

the system was logging INFO to the "Invalid "host" value "0.0.0.0"
message, This is changing it to WARN


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/2e144a85
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/2e144a85
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/2e144a85

Branch: refs/heads/master
Commit: 2e144a8525424d4f3e11a78696f415c3ee644972
Parents: 0d2cd3b
Author: xstefank <mjolnir122@gmail.com>
Authored: Wed Feb 8 16:41:37 2017 +0100
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Wed Feb 8 11:54:33 2017 -0500

----------------------------------------------------------------------
 .../activemq/artemis/jms/server/ActiveMQJMSServerLogger.java     | 4 ++--
 .../service/extensions/xa/recovery/ActiveMQXARecoveryLogger.java | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/2e144a85/artemis-jms-server/src/main/java/org/apache/activemq/artemis/jms/server/ActiveMQJMSServerLogger.java
----------------------------------------------------------------------
diff --git a/artemis-jms-server/src/main/java/org/apache/activemq/artemis/jms/server/ActiveMQJMSServerLogger.java
b/artemis-jms-server/src/main/java/org/apache/activemq/artemis/jms/server/ActiveMQJMSServerLogger.java
index 4a2f701..fdbc514 100644
--- a/artemis-jms-server/src/main/java/org/apache/activemq/artemis/jms/server/ActiveMQJMSServerLogger.java
+++ b/artemis-jms-server/src/main/java/org/apache/activemq/artemis/jms/server/ActiveMQJMSServerLogger.java
@@ -52,8 +52,8 @@ public interface ActiveMQJMSServerLogger extends BasicLogger {
       format = Message.Format.MESSAGE_FORMAT)
    void serverCachingCommand(Object runnable);
 
-   @LogMessage(level = Logger.Level.INFO)
-   @Message(id = 121005, value = "Invalid \"host\" value \"0.0.0.0\" detected for \"{0}\"
connector. Switching to \"{1}\". If this new address is incorrect please manually configure
the connector to use the proper one.",
+   @LogMessage(level = Logger.Level.WARN)
+   @Message(id = 122005, value = "Invalid \"host\" value \"0.0.0.0\" detected for \"{0}\"
connector. Switching to \"{1}\". If this new address is incorrect please manually configure
the connector to use the proper one.",
       format = Message.Format.MESSAGE_FORMAT)
    void invalidHostForConnector(String name, String newHost);
 

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/2e144a85/artemis-service-extensions/src/main/java/org/apache/activemq/artemis/service/extensions/xa/recovery/ActiveMQXARecoveryLogger.java
----------------------------------------------------------------------
diff --git a/artemis-service-extensions/src/main/java/org/apache/activemq/artemis/service/extensions/xa/recovery/ActiveMQXARecoveryLogger.java
b/artemis-service-extensions/src/main/java/org/apache/activemq/artemis/service/extensions/xa/recovery/ActiveMQXARecoveryLogger.java
index 02bf839..eb565a5 100644
--- a/artemis-service-extensions/src/main/java/org/apache/activemq/artemis/service/extensions/xa/recovery/ActiveMQXARecoveryLogger.java
+++ b/artemis-service-extensions/src/main/java/org/apache/activemq/artemis/service/extensions/xa/recovery/ActiveMQXARecoveryLogger.java
@@ -56,8 +56,8 @@ public interface ActiveMQXARecoveryLogger extends BasicLogger {
       format = Message.Format.MESSAGE_FORMAT)
    void serverCachingCommand(Object runnable);
 
-   @LogMessage(level = Logger.Level.INFO)
-   @Message(id = 121005, value = "Invalid \"host\" value \"0.0.0.0\" detected for \"{0}\"
connector. Switching to \"{1}\". If this new address is incorrect please manually configure
the connector to use the proper one.",
+   @LogMessage(level = Logger.Level.WARN)
+   @Message(id = 122005, value = "Invalid \"host\" value \"0.0.0.0\" detected for \"{0}\"
connector. Switching to \"{1}\". If this new address is incorrect please manually configure
the connector to use the proper one.",
       format = Message.Format.MESSAGE_FORMAT)
    void invalidHostForConnector(String name, String newHost);
 


Mime
View raw message