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

Support quiet/verbose bin/solr options for changing log level

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.2
    • 6.3, 7.0
    • scripts and tools

    Description

      Spinoff from SOLR-6677

      Let's make it much easier to "turn on debug" by supporting a bin/solr start -V verbose option, and likewise a bin/solr start -q for quiet operation.

      These would simply be convenience options for changing the RootLogger from level INFO to DEBUG or WARN respectively. This can be done programmatically in log4j at startup.

      Could be we need to add some more package specific defaults in log4j.properties to get the right mix of logs

      Attachments

        1. SOLR-9534.patch
          8 kB
          Jan Høydahl
        2. SOLR-9534.patch
          10 kB
          Jan Høydahl

        Issue Links

          Activity

            People

              janhoy Jan Høydahl
              janhoy Jan Høydahl
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: