diff --git a/solr/bin/solr.cmd b/solr/bin/solr.cmd index 1dca1a9e81c..ca68c30d86d 100755 --- a/solr/bin/solr.cmd +++ b/solr/bin/solr.cmd @@ -839,8 +839,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 (