From: Jing Lu Date: Mon, 5 Dec 2016 06:29:44 +0000 (+0000) Subject: Merge "Bugfix: debug should be default off" X-Git-Tag: danube.1.0~185 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=65e770afb564045d647abe2bdc2892ebe1130015;p=yardstick.git Merge "Bugfix: debug should be default off" --- 65e770afb564045d647abe2bdc2892ebe1130015 diff --cc api/actions/env.py index 5ecb851ef,ea2ca5bc3..9e53dde4d --- a/api/actions/env.py +++ b/api/actions/env.py @@@ -144,11 -61,11 +144,11 @@@ def _config_influxdb() def _config_output_file(): - yardstick_utils.makedirs('/etc/yardstick') - with open('/etc/yardstick/yardstick.conf', 'w') as f: + yardstick_utils.makedirs(config.YARDSTICK_CONFIG_DIR) + with open(config.YARDSTICK_CONFIG_FILE, 'w') as f: f.write("""\ [DEFAULT] - debug = True + debug = False dispatcher = influxdb [dispatcher_file]