Skip to content

Commit

Permalink
ISPN-4082 TcpTransportFactory shouldn't log error when it cannot fetc…
Browse files Browse the repository at this point in the history
…h transport
  • Loading branch information
rvansa authored and pruivo committed Apr 9, 2014
1 parent fc1a555 commit f9ae82f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ private Transport borrowTransportFromPool(SocketAddress server) {
return pool.borrowObject(server);
} catch (Exception e) {
String message = "Could not fetch transport";
log.couldNotFetchTransport(e);
log.debug(message, e);
throw new TransportException(message, e, server);
} finally {
logConnectionInfo(server);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@ public interface Log extends BasicLogger {
@Message(value = "Server not in cluster anymore(%s), removing from the pool.", id = 4016)
void removingServer(SocketAddress server);

@LogMessage(level = ERROR)
@Message(value = "Could not fetch transport", id = 4017)
void couldNotFetchTransport(@Cause Exception e);

@LogMessage(level = WARN)
@Message(value = "Unable to convert string property [%s] to an int! Using default value of %d", id = 4018)
void unableToConvertStringPropertyToInt(String value, int defaultValue);
Expand Down

0 comments on commit f9ae82f

Please sign in to comment.