mirror of https://github.com/apache/lucene.git
SOLR-14107: Ensure bin/solr -q/-v args work with -e/example (#1093)
Co-authored-by: Andy Vuong <andyvvv.101@gmail.com>
This commit is contained in:
parent
b7b6b0f3bf
commit
e428628054
|
@ -136,6 +136,8 @@ Bug Fixes
|
|||
|
||||
* SOLR-14099: Fixed @LogLevel annotation in test-framework to correctly 'unset' Loggers after test (hossman)
|
||||
|
||||
* SOLR-14017: Ensure bin/solr's -q and -v options work with examples (Andy Vuong via Jason Gerlowski)
|
||||
|
||||
* SOLR-14106: Cleanup Jetty SslContextFactory usage (Ryan Rockenbaugh, Jan Hoydahl, Kevin Risden)
|
||||
|
||||
Other Changes
|
||||
|
|
|
@ -1737,10 +1737,12 @@ if [ $# -gt 0 ]; then
|
|||
;;
|
||||
-v)
|
||||
SOLR_LOG_LEVEL=DEBUG
|
||||
PASS_TO_RUN_EXAMPLE+=" -Dsolr.log.level=$SOLR_LOG_LEVEL"
|
||||
shift
|
||||
;;
|
||||
-q)
|
||||
SOLR_LOG_LEVEL=WARN
|
||||
PASS_TO_RUN_EXAMPLE+=" -Dsolr.log.level=$SOLR_LOG_LEVEL"
|
||||
shift
|
||||
;;
|
||||
-all)
|
||||
|
|
|
@ -718,11 +718,13 @@ goto parse_args
|
|||
|
||||
:set_debug
|
||||
set SOLR_LOG_LEVEL=DEBUG
|
||||
set "PASS_TO_RUN_EXAMPLE=!PASS_TO_RUN_EXAMPLE! -Dsolr.log.level=%SOLR_LOG_LEVEL%"
|
||||
SHIFT
|
||||
goto parse_args
|
||||
|
||||
:set_warn
|
||||
set SOLR_LOG_LEVEL=WARN
|
||||
set "PASS_TO_RUN_EXAMPLE=!PASS_TO_RUN_EXAMPLE! -Dsolr.log.level=%SOLR_LOG_LEVEL%"
|
||||
SHIFT
|
||||
goto parse_args
|
||||
|
||||
|
|
Loading…
Reference in New Issue