mirror of https://github.com/apache/cloudstack.git
Fix for repeated log lines in test case logs.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
parent
e9a6d47316
commit
204bdac77f
|
|
@ -72,7 +72,7 @@ class TestCaseExecuteEngine(object):
|
|||
self.injectTestCase(test)
|
||||
else:
|
||||
#logger bears the name of the test class
|
||||
testcaselogger = logging.getLogger("testclient.testcase.%s"%test.__class__.__name__)
|
||||
testcaselogger = logging.getLogger("%s" % (test))
|
||||
fh = logging.FileHandler(self.logfile)
|
||||
fh.setFormatter(self.logformat)
|
||||
testcaselogger.addHandler(fh)
|
||||
|
|
|
|||
Loading…
Reference in New Issue