Skip to content

Commit

Permalink
refactor(iot-dev): Remove print to console from reconnection logic fo…
Browse files Browse the repository at this point in the history
…r AMQP

Github Issue #205
  • Loading branch information
timtay-microsoft committed Feb 8, 2018
1 parent 0cefe4b commit 12a8c99
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ private void startReconnect()
if (currentReconnectionAttempt == Integer.MAX_VALUE)
currentReconnectionAttempt = 0;

System.out.println("Lost connection to the server. Reconnection attempt " + currentReconnectionAttempt++ + "...");
currentReconnectionAttempt++;
logger.LogInfo("Lost connection to the server. Reconnection attempt %s, method name is %s ", currentReconnectionAttempt, logger.getMethodName());
try
{
Expand Down

0 comments on commit 12a8c99

Please sign in to comment.