Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
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) ...