Skip to content

Commit

Permalink
Merge pull request hornetq#1936 from jbertram/master
Browse files Browse the repository at this point in the history
JBPAPP-11022 Remove unnecessary WARN log
  • Loading branch information
gaohoward committed Oct 29, 2014
2 parents f44af14 + 845db2d commit 8b7db75
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ private void handleCreateSession(final CreateSessionMessage request)
Version version = server.getVersion();
if (!version.isCompatible(request.getVersion()))
{
HornetQServerLogger.LOGGER.incompatibleVersion(request.getVersion(), connection.getRemoteAddress(), version.getFullVersion());
throw HornetQMessageBundle.BUNDLE.incompatibleClientServer();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -567,11 +567,6 @@ public interface HornetQServerLogger extends BasicLogger
@Message(id = 222063, value = "Error processing IOCallback code = {0} message = {1}", format = Message.Format.MESSAGE_FORMAT)
void errorProcessingIOCallback(Integer errorCode, String errorMessage);

@LogMessage(level = Logger.Level.WARN)
@Message(id = 222064, value = "Client with version {0} and address {1} is not compatible with server version {2}. Please ensure all clients and servers are upgraded to the same version for them to interoperate properly",
format = Message.Format.MESSAGE_FORMAT)
void incompatibleVersion(Integer version, String remoteAddress, String fullVersion);

@LogMessage(level = Logger.Level.WARN)
@Message(id = 222065, value = "Client is not being consistent on the request versioning. It just sent a version id={0} while it informed {1} previously", format = Message.Format.MESSAGE_FORMAT)
void incompatibleVersionAfterConnect(int version, int clientVersion);
Expand Down

0 comments on commit 8b7db75

Please sign in to comment.