This is an automated email from the ASF dual-hosted git repository.
epugh 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 ab66877144a Clarify comment since examples do not use a special
directory (#2908)
ab66877144a is described below
commit ab66877144a05c2faab05b3a4e5c162cd224af61
Author: Eric Pugh <[email protected]>
AuthorDate: Wed Dec 18 14:26:36 2024 -0500
Clarify comment since examples do not use a special directory (#2908)
(cherry picked from commit 61609b1b599b839952fe6a8f0e163254caddd472)
---
solr/bin/solr.cmd | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/solr/bin/solr.cmd b/solr/bin/solr.cmd
index af440528d06..852d100a16f 100755
--- a/solr/bin/solr.cmd
+++ b/solr/bin/solr.cmd
@@ -822,10 +822,7 @@ IF NOT EXIST "%SOLR_HOME%\" (
)
)
-IF "%STOP_KEY%"=="" set STOP_KEY=solrrocks
-
-@REM This is quite hacky, but examples rely on a different log4j2.xml
-@REM so that we can write logs for examples to %SOLR_HOME%\..\logs
+@REM Handle overriding where logs are written to
IF [%SOLR_LOGS_DIR%] == [] (
set "SOLR_LOGS_DIR=%SOLR_SERVER_DIR%\logs"
) ELSE (