summaryrefslogtreecommitdiffstats
path: root/parameter
diff options
context:
space:
mode:
authorKevin Rocard <kevinx.rocard@intel.com>2013-04-22 17:46:28 +0200
committerDavid Wagner <david.wagner@intel.com>2014-02-12 17:03:50 +0100
commite25ee7943f43c089fcfb36e5cd914bdd0900fd37 (patch)
treec38cd7b39952c902c12c33ae46bca26feaf6f1c0 /parameter
parent2fbe6e8d585e3f4d1f9134f6954615f616bb7815 (diff)
downloadexternal_parameter-framework-e25ee7943f43c089fcfb36e5cd914bdd0900fd37.zip
external_parameter-framework-e25ee7943f43c089fcfb36e5cd914bdd0900fd37.tar.gz
external_parameter-framework-e25ee7943f43c089fcfb36e5cd914bdd0900fd37.tar.bz2
Reduce parameter-framework log on start
BZ: 102528 The PFW used to make a lot of useless log during init. Delete those useless logs. Change-Id: I9e4cf6461d4eb643444443ea57e90f97f79571a3 Signed-off-by: Kevin Rocard <kevinx.rocard@intel.com> Reviewed-on: http://android.intel.com:8080/103882 Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Gonzalve, Sebastien <sebastien.gonzalve@intel.com> Reviewed-by: Denneulin, Guillaume <guillaume.denneulin@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 'parameter')
-rw-r--r--parameter/ConfigurableDomain.cpp4
-rw-r--r--parameter/ParameterMgr.cpp2
2 files changed, 1 insertions, 5 deletions
diff --git a/parameter/ConfigurableDomain.cpp b/parameter/ConfigurableDomain.cpp
index 8a497fd..7393dbe 100644
--- a/parameter/ConfigurableDomain.cpp
+++ b/parameter/ConfigurableDomain.cpp
@@ -347,7 +347,6 @@ bool CConfigurableDomain::addConfigurableElement(CConfigurableElement* pConfigur
return false;
}
- log_info("Adding configurable element \"%s\" into domain \"%s\"", pConfigurableElement->getPath().c_str(), getName().c_str());
// Do add
doAddConfigurableElement(pConfigurableElement, pMainBlackboard);
@@ -808,7 +807,6 @@ string CConfigurableDomain::getPendingConfigurationName() const
// Ensure validity on whole domain from main blackboard
void CConfigurableDomain::validate(const CParameterBlackboard* pMainBlackboard)
{
- log_info("Validating whole domain \"" + getName() + "\" against main blackboard");
// Propagate
uint32_t uiNbConfigurations = getNbChildren();
@@ -867,8 +865,6 @@ void CConfigurableDomain::autoValidateAreas(const CConfigurableElement* pConfigu
return;
}
- log_info("Auto validating domain \"" + getName() + "\" against configuration \"" + pValidDomainConfiguration->getName() + "\" for configurable element " + pConfigurableElement->getPath());
-
// Validate all other configurations against found one, if any
uint32_t uiNbConfigurations = getNbChildren();
uint32_t uiChild;
diff --git a/parameter/ParameterMgr.cpp b/parameter/ParameterMgr.cpp
index 646e7af..24fd464 100644
--- a/parameter/ParameterMgr.cpp
+++ b/parameter/ParameterMgr.cpp
@@ -408,7 +408,7 @@ bool CParameterMgr::loadStructure(string& strError)
// Retrieve system to load structure to
CSystemClass* pSystemClass = getSystemClass();
- CAutoLog autoLog(this, "Loading " + pSystemClass->getName() + " system class structure");
+ log_info("Loading " + pSystemClass->getName() + " system class structure");
// Get structure description element
const CFrameworkConfigurationLocation* pStructureDescriptionFileLocation = static_cast<const CFrameworkConfigurationLocation*>(getConstFrameworkConfiguration()->findChildOfKind("StructureDescriptionFileLocation"));