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

Move some log messages to TRACE level

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.4
    • Component/s: logging
    • Labels:

      Description

      One example of a wasteful DEBUG log which could be moved to TRACE level is:

      $ solr start -f -v
      2018-04-05 22:46:14.488 INFO  (main) [   ] o.a.s.c.SolrXmlConfig Loading container configuration from /opt/solr/server/solr/solr.xml
      2018-04-05 22:46:14.574 DEBUG (main) [   ] o.a.s.c.Config null missing optional solr/@coreLoadThreads
      2018-04-05 22:46:14.577 DEBUG (main) [   ] o.a.s.c.Config null missing optional solr/@persistent
      2018-04-05 22:46:14.579 DEBUG (main) [   ] o.a.s.c.Config null missing optional solr/@sharedLib
      2018-04-05 22:46:14.581 DEBUG (main) [   ] o.a.s.c.Config null missing optional solr/@zkHost
      2018-04-05 22:46:14.583 DEBUG (main) [   ] o.a.s.c.Config null missing optional solr/cores
      2018-04-05 22:46:14.605 DEBUG (main) [   ] o.a.s.c.Config null missing optional solr/transientCoreCacheFactory
      2018-04-05 22:46:14.609 DEBUG (main) [   ] o.a.s.c.Config null missing optional solr/metrics/suppliers/counter
      2018-04-05 22:46:14.609 DEBUG (main) [   ] o.a.s.c.Config null missing optional solr/metrics/suppliers/meter
      2018-04-05 22:46:14.611 DEBUG (main) [   ] o.a.s.c.Config null missing optional solr/metrics/suppliers/timer
      2018-04-05 22:46:14.612 DEBUG (main) [   ] o.a.s.c.Config null missing optional solr/metrics/suppliers/histogram
      201
      

      There are probably other examples as well.

        Attachments

          Activity

            People

            • Assignee:
              janhoy Jan Høydahl
              Reporter:
              janhoy Jan Høydahl
            • Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 40m
                40m