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

Enhance gradle logging calls validation: eliminate getMessage()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 8.7
    • None
    • None

    Description

      SOLR-14280 fixed a logging problem in SolrConfig by removing a few getMessage() calls. We could enhance this solution by modifying gradle's logging calls validation and forbid getMessage() calls during logging. We should check the existing code and eliminate such calls.

      It is possible to suppress the warning using //logok.

      erickerickson gerlowskija

      Attachments

        1. SOLR-14523.patch
          48 kB
          Andras Salamon
        2. validation.patch
          0.8 kB
          Erick Erickson

        Activity

          People

            erickerickson Erick Erickson
            asalamon74 Andras Salamon
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: