From 6c61b35308e19adc96d76154746911c6bc14a1a4 Mon Sep 17 00:00:00 2001 From: khaledsherkawi <54568489+khaledsherkawi@users.noreply.github.com> Date: Tue, 7 Dec 2021 12:46:59 +0100 Subject: [PATCH] SW-736 Remove console logging calls via Analytics from MrBeamPlugin #1399 --- octoprint_mrbeam/static/js/analytics.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/octoprint_mrbeam/static/js/analytics.js b/octoprint_mrbeam/static/js/analytics.js index 3b9c227b9..9318e88d7 100644 --- a/octoprint_mrbeam/static/js/analytics.js +++ b/octoprint_mrbeam/static/js/analytics.js @@ -106,6 +106,7 @@ $(function () { }; self.onAllBound = function () { + /* This is commented out to stop console logging for the time being self._updateAnalyticsEnabledValue(); if (console.everything) { @@ -123,6 +124,7 @@ $(function () { console.callbacks.warn = self.send_console_event; console.callbacks.log = self.send_console_event; } + */ }; self.onStartupComplete = function () {