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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.2
    • Fix Version/s: 6.3, 7.0
    • Component/s: scripts and tools
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:

      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
          10 kB
          Jan Høydahl
        2. SOLR-9534.patch
          8 kB
          Jan Høydahl

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: