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

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


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

commit 4f30843d72b210b04fb4f6659da7a0055ad3dd0b
Author: Uwe Schindler <[email protected]>
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!"

Reply via email to