From 044de9eb0c74fb2ef9cb34b6487bf0536412058d Mon Sep 17 00:00:00 2001 From: Morgan Richomme Date: Thu, 9 Mar 2017 08:41:12 +0100 Subject: Change barometer target log file Change-Id: Id903683b12366c5a2f486c8b7d7ce6977d4448e0 Signed-off-by: Morgan Richomme --- functest/opnfv_tests/features/barometer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'functest') 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) -- cgit 1.2.3-korg