From a2a3f4caede4f123ddbda5c3f238f489e434c518 Mon Sep 17 00:00:00 2001 From: Heath Volmer Date: Tue, 11 Sep 2018 08:13:14 -0600 Subject: [PATCH] Clean up extra verbose logging after solidifying reconnection --- .../AppServer/CotijaSystemController.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/PepperDashEssentials/AppServer/CotijaSystemController.cs b/PepperDashEssentials/AppServer/CotijaSystemController.cs index 79a4ba46..f72857d1 100644 --- a/PepperDashEssentials/AppServer/CotijaSystemController.cs +++ b/PepperDashEssentials/AppServer/CotijaSystemController.cs @@ -403,11 +403,11 @@ namespace PepperDash.Essentials /// void ConnectWebsocketClient() { - Debug.Console(1, this, Debug.ErrorLogLevel.Notice, "Initializing Stream client to server."); + Debug.Console(1, this, "Initializing Stream client to server."); if (WSClient != null) { - Debug.Console(1, this, Debug.ErrorLogLevel.Notice, "Cleaning up previous socket"); + Debug.Console(1, this, "Cleaning up previous socket"); CleanUpWebsocketClient(); } @@ -510,7 +510,7 @@ namespace PepperDash.Essentials /// void CleanUpWebsocketClient() { - Debug.Console(1, this, Debug.ErrorLogLevel.Notice, "Disconnecting websocket"); + Debug.Console(1, this, "Disconnecting websocket"); if (WSClient != null) { WSClient.SendCallBack = null; @@ -555,7 +555,7 @@ namespace PepperDash.Essentials /// For CTimer callback. Not used void HeartbeatExpiredTimerCallback(object o) { - Debug.Console(1, this, Debug.ErrorLogLevel.Notice, "Heartbeat Timer Expired."); + Debug.Console(1, this, "Heartbeat Timer Expired."); if (ServerHeartbeatCheckTimer != null) { ServerHeartbeatCheckTimer.Stop(); @@ -734,7 +734,7 @@ namespace PepperDash.Essentials } else if (type == "close") { - Debug.Console(1, this, Debug.ErrorLogLevel.Notice, "Received close message from server."); + Debug.Console(1, this, "Received close message from server."); // DisconnectWebsocketClient(); if (ServerHeartbeatCheckTimer != null)