cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahu...@apache.org
Subject [10/50] [abbrv] git commit: updated refs/heads/vmsync to cd6aea1
Date Thu, 30 May 2013 00:04:04 GMT
Fix for repeated log lines in test case logs.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/204bdac7
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/204bdac7
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/204bdac7

Branch: refs/heads/vmsync
Commit: 204bdac77f2c48e304b8bd7ccf2c85a69f4885ef
Parents: e9a6d47
Author: ashutoshkelkar <ashutosh@clogeny.com>
Authored: Thu May 23 11:23:34 2013 +0530
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Tue May 28 11:15:57 2013 +0530

----------------------------------------------------------------------
 tools/marvin/marvin/TestCaseExecuteEngine.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/204bdac7/tools/marvin/marvin/TestCaseExecuteEngine.py
----------------------------------------------------------------------
diff --git a/tools/marvin/marvin/TestCaseExecuteEngine.py b/tools/marvin/marvin/TestCaseExecuteEngine.py
index 5743868..4b64aae 100644
--- a/tools/marvin/marvin/TestCaseExecuteEngine.py
+++ b/tools/marvin/marvin/TestCaseExecuteEngine.py
@@ -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)


Mime
View raw message