[Libreoffice-commits] core.git: jvmfwk/plugins

Samuel Mehrbrodt Samuel.Mehrbrodt at cib.de
Thu Mar 9 19:57:39 UTC 2017


 jvmfwk/plugins/sunmajor/pluginlib/util.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 89bfaa58e5b6421ee272f77e8d542eb2344e3fa5
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date:   Thu Mar 9 15:41:52 2017 +0100

    jvmfwk: Improve logging output
    
    Change-Id: I476fc3190902e44bedfd2e713bd1a7cfb0733688
    Reviewed-on: https://gerrit.libreoffice.org/35024
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
    Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
index 5694256..3c31e60 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
@@ -499,6 +499,7 @@ bool getJavaProps(const OUString & exePath,
 
     //Use this thread to read output stream
     FileHandleReader::Result rs = FileHandleReader::RESULT_OK;
+    JFW_TRACE2("Properties found:");
     while (true)
     {
         OString aLine;
@@ -508,7 +509,7 @@ bool getJavaProps(const OUString & exePath,
         OUString sLine;
         if (!decodeOutput(aLine, &sLine))
             continue;
-        JFW_TRACE2(" \"" << sLine << " \"");
+        JFW_TRACE2("  \"" << sLine << "\"");
         sLine = sLine.trim();
         if (sLine.isEmpty())
             continue;


More information about the Libreoffice-commits mailing list