Skip to content

Commit 204bdac

Browse files
ashutoshkelkarPrasanna Santhanam
authored andcommitted
Fix for repeated log lines in test case logs.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
1 parent e9a6d47 commit 204bdac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/marvin/marvin/TestCaseExecuteEngine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def injectTestCase(self, testSuites):
7272
self.injectTestCase(test)
7373
else:
7474
#logger bears the name of the test class
75-
testcaselogger = logging.getLogger("testclient.testcase.%s"%test.__class__.__name__)
75+
testcaselogger = logging.getLogger("%s" % (test))
7676
fh = logging.FileHandler(self.logfile)
7777
fh.setFormatter(self.logformat)
7878
testcaselogger.addHandler(fh)

0 commit comments

Comments
 (0)