aboutsummaryrefslogtreecommitdiffstats
path: root/functest
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2017-03-09 08:41:12 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2017-03-09 08:41:12 +0100
commit044de9eb0c74fb2ef9cb34b6487bf0536412058d (patch)
tree408c835ec3127f732d0bdba50e2576165ef2ac31 /functest
parent8c12f12b032fbaa784e639515768f1f7ed59dc8d (diff)
Change barometer target log file
Change-Id: Id903683b12366c5a2f486c8b7d7ce6977d4448e0 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'functest')
-rw-r--r--functest/opnfv_tests/features/barometer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/functest/opnfv_tests/features/barometer.py b/functest/opnfv_tests/features/barometer.py
index aec2bce5..059d084f 100644
--- a/functest/opnfv_tests/features/barometer.py
+++ b/functest/opnfv_tests/features/barometer.py
@@ -8,8 +8,8 @@
import functest.core.feature_base as base
-import functest.utils.functest_logger as ft_logger
+from functest.utils.constants import CONST
from baro_tests import collectd
@@ -22,7 +22,7 @@ class BarometerCollectd(base.FeatureBase):
super(BarometerCollectd, self).__init__(project='barometer',
case='barometercollectd',
repo='dir_repo_barometer')
- self.logger = ft_logger.Logger("BarometerCollectd").getLogger()
+ self.result_file = "{}/functest.log".format(CONST.dir_results)
def execute(self):
return collectd.main(self.logger)