You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by us...@apache.org on 2022/10/20 07:50:57 UTC

[solr] branch branch_9x updated: SOLR-8803: Fix quoting of log file

This is an automated email from the ASF dual-hosted git repository.

uschindler pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new b640de6e817 SOLR-8803: Fix quoting of log file
b640de6e817 is described below

commit b640de6e817744e167d6c18f4a75c71f2b2fba6b
Author: Uwe Schindler <us...@apache.org>
AuthorDate: Thu Oct 20 09:50:50 2022 +0200

    SOLR-8803: Fix quoting of log file
---
 solr/bin/solr.cmd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/bin/solr.cmd b/solr/bin/solr.cmd
index fa2c38efa5c..800061a7020 100755
--- a/solr/bin/solr.cmd
+++ b/solr/bin/solr.cmd
@@ -1323,7 +1323,7 @@ set START_OPTS=%START_OPTS% -XX:-OmitStackTraceInFastThrow
 REM '+CrashOnOutOfMemoryError' ensures that Solr crashes whenever
 REM OOME is thrown. Program operation after OOME is unpredictable.
 set START_OPTS=%START_OPTS% -XX:+CrashOnOutOfMemoryError
-set START_OPTS=%START_OPTS% -XX:ErrorFile=%SOLR_LOGS_DIR%\jvm_crash_%%p.log
+set START_OPTS=%START_OPTS% -XX:ErrorFile="%SOLR_LOGS_DIR%\jvm_crash_%%p.log"
 set START_OPTS=%START_OPTS% !GC_TUNE! %GC_LOG_OPTS%
 set START_OPTS=%START_OPTS% -DdisableAdminUI=%DISABLE_ADMIN_UI%
 IF NOT "!CLOUD_MODE_OPTS!"=="" set "START_OPTS=%START_OPTS% !CLOUD_MODE_OPTS!"