Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6189

Tests: Configure JUL logging based on VERBOSE flag

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • general/test
    • None
    • New

    Description

      I propose that LuceneTestCase check if VERBOSE is false, and if so then do this: Logger.getLogger("org.apache.lucene").setLevel(Level.SEVERE).

      This will allow test classes to grab a logger and log to it at appropriate levels without having to guard each log line with if (VERBOSE) ...

      Attachments

        Activity

          People

            Unassigned Unassigned
            dsmiley David Smiley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: