From d172f897c273aaa1b55a4eb460b4c5ecc3bc900f Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Tue, 22 Oct 2013 10:11:56 +0200 Subject: Increase verbosity of logged exceptions. There is too much noise in TRACE_VERBOSE and exception stack trace is more important than e.g. entering/leaving messages. --- src/python/lmi/providers/JobManager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/python') diff --git a/src/python/lmi/providers/JobManager.py b/src/python/lmi/providers/JobManager.py index f285fe1..31deb3f 100644 --- a/src/python/lmi/providers/JobManager.py +++ b/src/python/lmi/providers/JobManager.py @@ -420,11 +420,11 @@ class Job(object): self._execute(*(self._execargs), **(self._execkwargs)) except pywbem.CIMError, error: LOG().trace_warn("Job.execute caught an CIMError %s", str(error)) - LOG().trace_verbose("traceback: %s", traceback.format_exc()) + LOG().trace_info("traceback: %s", traceback.format_exc()) self.finish_method(Job.STATE_FAILED, error=error) except Exception, ex: LOG().trace_warn("Job.execute caught an Exception %s", str(ex)) - LOG().trace_verbose("traceback: %s", traceback.format_exc()) + LOG().trace_info("traceback: %s", traceback.format_exc()) error = pywbem.CIMError(pywbem.CIM_ERR_FAILED, str(ex)) self.finish_method(Job.STATE_FAILED, error=error) -- cgit