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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment