aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKevin Rocard <kevinx.rocard@intel.com>2013-06-10 16:02:28 +0200
committerDavid Wagner <david.wagner@intel.com>2014-02-12 17:04:00 +0100
commit925c20b1889b4963c3890e9992385bb87d8fdb97 (patch)
treee521f4466b0139fdc1f6575d2099fe8c96622fd3 /tools
parent9050c81c8f9a63aa95e7230705e00585bd0ecec5 (diff)
downloadexternal_parameter-framework-925c20b1889b4963c3890e9992385bb87d8fdb97.zip
external_parameter-framework-925c20b1889b4963c3890e9992385bb87d8fdb97.tar.gz
external_parameter-framework-925c20b1889b4963c3890e9992385bb87d8fdb97.tar.bz2
[coverage] Set the default error filter level to error
BZ: 115218 The default log filter level was set to warning or info, depending on the libraries availables. Set it always to error. Change-Id: I939165f881095798eea874c2c268cfffcf6187fe Signed-off-by: Kevin Rocard <kevinx.rocard@intel.com> Reviewed-on: http://android.intel.com:8080/112715 Reviewed-by: Denneulin, Guillaume <guillaume.denneulin@intel.com> Reviewed-by: Gonzalve, Sebastien <sebastien.gonzalve@intel.com> Reviewed-by: cactus <cactus@intel.com> Tested-by: Dixon, CharlesX <charlesx.dixon@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/coverage.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/coverage.py b/tools/coverage.py
index ead5e08..7e7b801 100755
--- a/tools/coverage.py
+++ b/tools/coverage.py
@@ -522,7 +522,7 @@ class Configuration(FromDomElement, DomPopulatedElement):
self.debug("Applied but rule does not match current "
"criteria (parent: %s) " % self.parent.name,
- logging.FATAL)
+ logging.ERROR)
raise self.IneligibleConfigurationAppliedError(self, criteria.export())
@@ -882,7 +882,7 @@ class ArgumentParser:
Result of parsing are the class attributes.
"""
- levelTranslate = [logging.WARNING, logging.INFO, logging.DEBUG]
+ levelTranslate = [logging.ERROR, logging.WARNING, logging.INFO, logging.DEBUG]
def __init__(self):
@@ -914,7 +914,7 @@ class ArgumentParser:
self.XMLreport = True
logger.warning(" - Debug level: error")
- self.debugLevel = logging.INFO
+ self.debugLevel = logging.ERROR
else :
myArgParser = argparse.ArgumentParser(description='Generate PFW report')