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

Move Metrics handler and any other noisy admin logging to debug

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 9.0
    • 8.6
    • logging
    • None

    Description

      Lately when looking at log files I always find myself straining and squinting to see things among a vast sea of metrics related logging. The problem appears to be that the metrics system regularly issues /admin/ commands that get logged at info by HttpSolrCall, so turning this down also means you can't see any other admin commands, which is often what you're looking for in the first place (ok what I'm often looking for at least  ). I also recall seeing a complaint about this on one of the lists at some point. 

      Attaching patch to log at an alternate level these based on the value of the handler field in HttpSolrCall. Patch is untested and meant as fodder for commentary and for suggestions of other handlers that might want to go on the "noisy" list.

      Attachments

        1. SOLR-13286.patch
          3 kB
          Gus Heck
        2. SOLR-13286.patch
          3 kB
          Gus Heck

        Activity

          People

            gus Gus Heck
            gus Gus Heck
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: