diff options
author | Frédéric Boisnard <fredericx.boisnard@intel.com> | 2014-01-10 18:46:33 +0100 |
---|---|---|
committer | David Wagner <david.wagner@intel.com> | 2014-02-12 17:04:17 +0100 |
commit | 6c55e9a1829f613f37df4e5fd0dbdde006a76707 (patch) | |
tree | c4f25a3e0b6241c13c5c9202895a3a77c42b47e1 /parameter | |
parent | 9e3882819ce9d1fcc99a3ea3efa549e87efa7e7a (diff) | |
download | external_parameter-framework-6c55e9a1829f613f37df4e5fd0dbdde006a76707.zip external_parameter-framework-6c55e9a1829f613f37df4e5fd0dbdde006a76707.tar.gz external_parameter-framework-6c55e9a1829f613f37df4e5fd0dbdde006a76707.tar.bz2 |
Improve verbosity during PFW socket creation
BZ: 151780
Debugging XML generation from .pfw files is uneasy because the
log messages are lacking ports & sockets information.
Added the port number to the logs of the PFW when a new socket
is created.
Change-Id: I688f954068a6819ecc9e65f7664ac7a98ca0dabf
Signed-off-by: Frédéric Boisnard <fredericx.boisnard@intel.com>
Diffstat (limited to 'parameter')
-rw-r--r-- | parameter/ParameterMgr.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/parameter/ParameterMgr.cpp b/parameter/ParameterMgr.cpp index 88270c5..999cb1f 100644 --- a/parameter/ParameterMgr.cpp +++ b/parameter/ParameterMgr.cpp @@ -79,6 +79,7 @@ #include "XmlMemoryDocSink.h" #include "XmlMemoryDocSource.h" #include "Utility.h" +#include <sstream> #define base CElement @@ -2235,7 +2236,10 @@ bool CParameterMgr::handleRemoteProcessingInterface(string& strError) // Start if (!_pRemoteProcessorServer->start()) { - strError = "Unable to start remote processor server"; + ostringstream oss; + oss << "ParameterMgr: Unable to start remote processor server on port " + << getConstFrameworkConfiguration()->getServerPort(); + strError = oss.str(); return false; } |