From 83ff3007b57bbef6b0face3e7f6f6c6b91aec5bd Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 11 Jan 2013 14:28:29 +0100 Subject: [PATCH] Remove log messages in LogPanel.draw() They seem to occasionally cause the GUI to lock up. --- src/cli/logPanel.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/cli/logPanel.py b/src/cli/logPanel.py index ecb3109..95110be 100644 --- a/src/cli/logPanel.py +++ b/src/cli/logPanel.py @@ -928,7 +928,6 @@ class LogPanel(panel.Panel, threading.Thread, logging.Handler): deduplicatedLog = getDuplicates(eventLog) if deduplicatedLog == None: - log.warn("Deduplication took too long. Its current implementation has difficulty handling large logs so disabling it to keep the interface responsive.") self.setDuplicateVisability(True) deduplicatedLog = [(entry, 0) for entry in eventLog] else: deduplicatedLog = [(entry, 0) for entry in eventLog] @@ -1042,7 +1041,6 @@ class LogPanel(panel.Panel, threading.Thread, logging.Handler): self.lastContentHeight = newContentHeight if forceRedraw: - log.debug("redrawing the log panel with the corrected content height (%s)" % forceRedrawReason) self.redraw(True) self.valsLock.release() -- 1.8.1