malliaridis commented on code in PR #2721:
URL: https://github.com/apache/solr/pull/2721#discussion_r1772832218


##########
solr/core/src/java/org/apache/solr/cli/SolrCLI.java:
##########
@@ -308,7 +326,8 @@ protected static void checkSslStoreSysProp(String 
solrInstallDir, String key) {
   }
 
   public static void raiseLogLevelUnlessVerbose(CommandLine cli) {
-    if (!cli.hasOption(OPTION_VERBOSE.getOpt())) {
+    if (!cli.hasOption((SolrCLI.OPTION_DEBUG.getOpt()))
+        || cli.hasOption(SolrCLI.OPTION_VERBOSE.getOpt())) {

Review Comment:
   By putting both options (verbose and debug) into an `OptionGroup`, this can 
be simplified as well.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to