NO-JIRA fix log message format in ActiveMQRALogger
MessageFormat uses single quotes to escape so string ${0} was logged.
This commit is contained in:
parent
b828de502c
commit
1b5ed3d1a4
|
@ -155,10 +155,10 @@ public interface ActiveMQRALogger extends BasicLogger {
|
|||
void invalidAcknowledgementMode(String mode);
|
||||
|
||||
@LogMessage(level = Logger.Level.WARN)
|
||||
@Message(id = 153004, value = "Invalid number of session (negative) '{0}', defaulting to '${1}'.", format = Message.Format.MESSAGE_FORMAT)
|
||||
@Message(id = 153004, value = "Invalid number of session (negative) {0}, defaulting to {1}.", format = Message.Format.MESSAGE_FORMAT)
|
||||
void invalidNumberOfMaxSession(int value, int defaultValue);
|
||||
|
||||
@LogMessage(level = Logger.Level.WARN)
|
||||
@Message(id = 153005, value = "Unable to retrieve '${0}' from JNDI. Creating a new '${1}' named '${2}' to be used by the MDB.", format = Message.Format.MESSAGE_FORMAT)
|
||||
@Message(id = 153005, value = "Unable to retrieve \"{0}\" from JNDI. Creating a new \"{1}\" named \"{2}\" to be used by the MDB.", format = Message.Format.MESSAGE_FORMAT)
|
||||
void unableToRetrieveDestinationName(String destinationName, String name, String calculatedDestinationName);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue