From a4c22cef7102286a55e8fdd085037ce073e0e196 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Wed, 9 Jan 2019 11:09:33 +0000 Subject: [PATCH] utils/rendering: Fix incorrect debug message This debug message is used for all derived FrameCollectors so do not specify a particular method. --- devlib/utils/rendering.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devlib/utils/rendering.py b/devlib/utils/rendering.py index e27507c..06baac4 100644 --- a/devlib/utils/rendering.py +++ b/devlib/utils/rendering.py @@ -54,7 +54,7 @@ class FrameCollector(threading.Thread): self.header = None def run(self): - logger.debug('Surface flinger frame data collection started.') + logger.debug('Frame data collection started.') try: self.stop_signal.clear() fd, self.temp_file = tempfile.mkstemp() @@ -71,7 +71,7 @@ class FrameCollector(threading.Thread): except Exception as e: # pylint: disable=W0703 logger.warning('Exception on collector thread: {}({})'.format(e.__class__.__name__, e)) self.exc = WorkerThreadError(self.name, sys.exc_info()) - logger.debug('Surface flinger frame data collection stopped.') + logger.debug('Frame data collection stopped.') def stop(self): self.stop_signal.set()