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
This commit is contained in:
xstefank 2017-02-08 16:41:37 +01:00 committed by Clebert Suconic
parent 0d2cd3b721
commit 2e144a8525
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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);