From 89bfaa58e5b6421ee272f77e8d542eb2344e3fa5 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Thu, 9 Mar 2017 15:41:52 +0100 Subject: [PATCH] jvmfwk: Improve logging output Change-Id: I476fc3190902e44bedfd2e713bd1a7cfb0733688 Reviewed-on: https://gerrit.libreoffice.org/35024 Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt --- jvmfwk/plugins/sunmajor/pluginlib/util.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx index 569425655732..3c31e60c63e6 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;