From 2457f7bb9e07beafe37a6cb8dcf52fbf003ae7a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Doktor?= Date: Mon, 22 Feb 2016 13:17:19 +0100 Subject: [PATCH] avocado: Rename avocado.app.traceback log stream to avocado.app.debug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lets share this log with all debug info in avocado not enabled by default. Signed-off-by: Lukáš Doktor --- avocado/core/job.py | 2 +- avocado/core/loader.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/avocado/core/job.py b/avocado/core/job.py index ed4b3eb5..52dfa020 100644 --- a/avocado/core/job.py +++ b/avocado/core/job.py @@ -412,7 +412,7 @@ class Job(object): try: test_suite = self._make_test_suite(self.urls) except loader.LoaderError, details: - stacktrace.log_exc_info(sys.exc_info(), 'avocado.app.tracebacks') + stacktrace.log_exc_info(sys.exc_info(), 'avocado.app.debug') self._remove_job_results() raise exceptions.OptionValidationError(details) if not test_suite: diff --git a/avocado/core/loader.py b/avocado/core/loader.py index 95df1189..1a5abd4b 100644 --- a/avocado/core/loader.py +++ b/avocado/core/loader.py @@ -210,8 +210,7 @@ class TestLoaderProxy(object): "%s" % (plugin, details), 'avocado.app.exceptions') # FIXME: Introduce avocado.traceback logger and use here - stacktrace.log_exc_info(sys.exc_info(), - 'avocado.app.tracebacks') + stacktrace.log_exc_info(sys.exc_info(), 'avocado.app.debug') tests = [] unhandled_urls = [] if not urls: -- GitLab