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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5, 3.1, 4.0-ALPHA
    • Component/s: None
    • Labels:
      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

          Activity

            People

            • Assignee:
              hossman Hoss Man
              Reporter:
              hossman Hoss Man
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: