Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Clarify comment since examples do not use a special directory (#2908)

Eric Pugh61609b1b599b
diff --git a/solr/bin/solr.cmd b/solr/bin/solr.cmd
index b1a3647f6a6..7541e2183ac 100755
--- a/solr/bin/solr.cmd
+++ b/solr/bin/solr.cmd
@@ -860,8 +860,7 @@ IF NOT EXIST "%SOLR_HOME%\" (
)
)
-@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 (