aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2017-03-09 09:37:07 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-09 09:37:07 +0000
commitf82f6d92e9452018db88b32ed092e905f0aa4535 (patch)
tree61c991a6cc8db4a0e96d19da295dc2d63817c7cc
parent7e2f80c2175688614d37b6f520d7e2dd0e46a4ce (diff)
parent044de9eb0c74fb2ef9cb34b6487bf0536412058d (diff)
Merge "Change barometer target log file"
-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 aec2bce5d..059d084fe 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)