summaryrefslogtreecommitdiffstats
path: root/src/python
diff options
context:
space:
mode:
authorJan Safranek <jsafrane@redhat.com>2013-10-22 10:11:56 +0200
committerJan Safranek <jsafrane@redhat.com>2013-10-22 10:11:56 +0200
commitd172f897c273aaa1b55a4eb460b4c5ecc3bc900f (patch)
tree1eb46ae89270b0dca0f087836f6d05412f8520a1 /src/python
parentf2d0282b3ca6e3ecc8ef6acec90ba1c8c08afb69 (diff)
downloadopenlmi-providers-d172f897c273aaa1b55a4eb460b4c5ecc3bc900f.tar.gz
openlmi-providers-d172f897c273aaa1b55a4eb460b4c5ecc3bc900f.tar.xz
openlmi-providers-d172f897c273aaa1b55a4eb460b4c5ecc3bc900f.zip
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.
Diffstat (limited to 'src/python')
-rw-r--r--src/python/lmi/providers/JobManager.py4
1 files changed, 2 insertions, 2 deletions
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)