提交 2457f7bb 编写于 作者: L Lukáš Doktor 提交者: Cleber Rosa

avocado: Rename avocado.app.traceback log stream to avocado.app.debug

Lets share this log with all debug info in avocado not enabled by default.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
上级 38ad6b82
...@@ -412,7 +412,7 @@ class Job(object): ...@@ -412,7 +412,7 @@ class Job(object):
try: try:
test_suite = self._make_test_suite(self.urls) test_suite = self._make_test_suite(self.urls)
except loader.LoaderError, details: 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() self._remove_job_results()
raise exceptions.OptionValidationError(details) raise exceptions.OptionValidationError(details)
if not test_suite: if not test_suite:
......
...@@ -210,8 +210,7 @@ class TestLoaderProxy(object): ...@@ -210,8 +210,7 @@ class TestLoaderProxy(object):
"%s" % (plugin, details), "%s" % (plugin, details),
'avocado.app.exceptions') 'avocado.app.exceptions')
# FIXME: Introduce avocado.traceback logger and use here # FIXME: Introduce avocado.traceback logger and use here
stacktrace.log_exc_info(sys.exc_info(), stacktrace.log_exc_info(sys.exc_info(), 'avocado.app.debug')
'avocado.app.tracebacks')
tests = [] tests = []
unhandled_urls = [] unhandled_urls = []
if not urls: if not urls:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册