From 8e3969c1100a0b879db6ed15511a3ffdd12d4288 Mon Sep 17 00:00:00 2001 From: timtay-microsoft Date: Thu, 8 Feb 2018 13:47:58 -0800 Subject: [PATCH] refactor(iot-dev): Remove printing to console from reconnection logic for AMQP Remove printing to console from reconnection logic for AMQP Github Issue #205 --- .../sdk/iot/device/transport/amqps/AmqpsIotHubConnection.java | 1 - 1 file changed, 1 deletion(-) diff --git a/device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/amqps/AmqpsIotHubConnection.java b/device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/amqps/AmqpsIotHubConnection.java index 329afbba06..1fa34b0154 100644 --- a/device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/amqps/AmqpsIotHubConnection.java +++ b/device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/amqps/AmqpsIotHubConnection.java @@ -766,7 +766,6 @@ private void startReconnect() if (currentReconnectionAttempt == Integer.MAX_VALUE) currentReconnectionAttempt = 0; - System.out.println("Lost connection to the server. Reconnection attempt " + currentReconnectionAttempt++ + "..."); logger.LogInfo("Lost connection to the server. Reconnection attempt %s, method name is %s ", currentReconnectionAttempt, logger.getMethodName()); try {