Merge "Bugfix: debug should be default off"
authorJing Lu <lvjing5@huawei.com>
Mon, 5 Dec 2016 06:29:44 +0000 (06:29 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Mon, 5 Dec 2016 06:29:44 +0000 (06:29 +0000)
1  2 
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]