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

SolrCore.execute should wrap log message construction in "if (log.isInfoEnabled())"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5, 3.1, 4.0-ALPHA
    • None
    • None

    Description

      As mentioned by Fuad on solr-user, there is some non-trivial log message construction happening in SolreCore.execute that should be wrapped in "if (log.isInfoEnabled())" ...

      http://old.nabble.com/SOLR-Performance-Tuning%3A-Disable-INFO-Logging.-to26866730.html#a26866943

      ...the warn level message in that same method could probably also be wrapped since it does some large string building as well.

      Attachments

        1. SOLR-1679.patch
          2 kB
          Mark Miller

        Activity

          People

            hossman Chris M. Hostetter
            hossman Chris M. Hostetter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: