From 873a825e57811a0046d4751a22f646c015fca6f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 18 Dec 2014 12:02:14 +0100 Subject: [PATCH] Commented out loggers used for debugging/evaluating print time estimation --- src/octoprint/printer/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/octoprint/printer/__init__.py b/src/octoprint/printer/__init__.py index b19fd38d..05b7c644 100644 --- a/src/octoprint/printer/__init__.py +++ b/src/octoprint/printer/__init__.py @@ -35,8 +35,8 @@ class Printer(): from collections import deque self._logger = logging.getLogger(__name__) - self._estimationLogger = logging.getLogger("ESTIMATIONS") - self._printTimeLogger = logging.getLogger("PRINT_TIME") + #self._estimationLogger = logging.getLogger("ESTIMATIONS") + #self._printTimeLogger = logging.getLogger("PRINT_TIME") self._analysisQueue = analysisQueue self._fileManager = fileManager @@ -420,7 +420,7 @@ class Printer(): sub_progress = 1.0 totalPrintTime = (1 - sub_progress) * statisticalTotalPrintTime + sub_progress * estimatedTotalPrintTime - self._printTimeLogger.info("{progress};{cleanedPrintTime};{estimatedTotalPrintTime};{statisticalTotalPrintTime};{totalPrintTime}".format(**locals())) + #self._printTimeLogger.info("{progress};{cleanedPrintTime};{estimatedTotalPrintTime};{statisticalTotalPrintTime};{totalPrintTime}".format(**locals())) self._progress = progress self._printTime = printTime