David Smiley created LUCENE-6189:
------------------------------------

             Summary: Tests: Configure JUL logging based on VERBOSE flag
                 Key: LUCENE-6189
                 URL: https://issues.apache.org/jira/browse/LUCENE-6189
             Project: Lucene - Core
          Issue Type: Improvement
          Components: general/test
            Reporter: David Smiley
            Priority: Minor


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) ...}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to