From 1e640cc0c334c464344574b5e8945ad5f2e67044 Mon Sep 17 00:00:00 2001 From: DJ2LS Date: Fri, 26 Apr 2024 21:16:24 +0200 Subject: [PATCH] reduced logging --- freedata_gui/src/js/eventHandler.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/freedata_gui/src/js/eventHandler.js b/freedata_gui/src/js/eventHandler.js index ee175e5e..db6654a1 100644 --- a/freedata_gui/src/js/eventHandler.js +++ b/freedata_gui/src/js/eventHandler.js @@ -38,10 +38,10 @@ import { export async function loadAllData() { // TODO: Make this working let stateData = await getModemState(); - console.log(stateData); + //console.log(stateData); let radioData = await getRadioStatus(); - console.log(stateData); + //console.log(stateData); getRemote(); getOverallHealth(); @@ -58,7 +58,7 @@ export function connectionFailed(endpoint, event) { export function stateDispatcher(data) { data = JSON.parse(data); //Leave commented when not needed, otherwise can lead to heap overflows due to the amount of data logged - console.log(data); + //console.log(data); if (data["type"] == "state-change" || data["type"] == "state") { stateStore.modem_connection = "connected"; stateStore.busy_state = data["is_modem_busy"]; @@ -95,7 +95,7 @@ export function stateDispatcher(data) { export function eventDispatcher(data) { data = JSON.parse(data); - console.debug(data); + //console.debug(data); if (data["scatter"] !== undefined) { stateStore.scatter = JSON.parse(data["scatter"]);