From b9d0cf17e35cb158b85b1b6699a38d38d353b7d3 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 18 Oct 2019 16:31:34 -0400 Subject: [PATCH] Fix the output of exceptions with timeliner. --- volatility/framework/plugins/timeliner.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility/framework/plugins/timeliner.py b/volatility/framework/plugins/timeliner.py index 234d36205..8bda035f6 100644 --- a/volatility/framework/plugins/timeliner.py +++ b/volatility/framework/plugins/timeliner.py @@ -101,9 +101,8 @@ class Timeliner(interfaces.plugins.PluginInterface): times[timestamp_type] = timestamp self.timeline[(plugin_name, item)] = times except Exception: - # FIXME: traceback shouldn't be printed directly, but logged instead - traceback.print_exc() vollog.log(logging.INFO, "Exception occurred running plugin: {}".format(plugin_name)) + vollog.log(logging.DEBUG, traceback.format_exc()) for (plugin_name, item) in self.timeline: times = self.timeline[(plugin_name, item)]