jvmfwk: Improve logging output
Change-Id: I476fc3190902e44bedfd2e713bd1a7cfb0733688 Reviewed-on: https://gerrit.libreoffice.org/35024 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
This commit is contained in:
@@ -499,6 +499,7 @@ bool getJavaProps(const OUString & exePath,
|
|||||||
|
|
||||||
//Use this thread to read output stream
|
//Use this thread to read output stream
|
||||||
FileHandleReader::Result rs = FileHandleReader::RESULT_OK;
|
FileHandleReader::Result rs = FileHandleReader::RESULT_OK;
|
||||||
|
JFW_TRACE2("Properties found:");
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
OString aLine;
|
OString aLine;
|
||||||
@@ -508,7 +509,7 @@ bool getJavaProps(const OUString & exePath,
|
|||||||
OUString sLine;
|
OUString sLine;
|
||||||
if (!decodeOutput(aLine, &sLine))
|
if (!decodeOutput(aLine, &sLine))
|
||||||
continue;
|
continue;
|
||||||
JFW_TRACE2(" \"" << sLine << " \"");
|
JFW_TRACE2(" \"" << sLine << "\"");
|
||||||
sLine = sLine.trim();
|
sLine = sLine.trim();
|
||||||
if (sLine.isEmpty())
|
if (sLine.isEmpty())
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user