Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-14107

Allow solr cli run tool to use quiet or verbose log levels

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 8.4, 9.0
    • SolrCloud
    • None

    Description

      Trivial fix

      According to the solr control script reference (

      https://lucene.apache.org/solr/guide/8_3/solr-control-script-reference.html#solr-control-script-reference)

      , passing -v changes the logging level of log4j from INFO to DEBUG. This isn’t the case when used with any of the examples passing -e. I frequently use a command like

      bin/solr start -e cloud -noprompt

      to spin up a quick 2 node cluster and would’ve expected -v to enable debug.

      This is a trivial patch to allow the examples to run with DEBUG (likewise WARN for -q): 
      bin/solr start -e cloud -noprompt -v

       

       

       

      Attachments

        Issue Links

          Activity

            People

              gerlowskija Jason Gerlowski
              andy_vuong Andy Vuong
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h