From c492a95a22d99f900e4ecf2e5c1a4bca64386565 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 5 Feb 2012 13:26:56 +0100 Subject: programatically to tame the logging in Solr seems to be a challenge :-) --- src/main/java/org/dyndns/andreasbaumann/LuceneAnalyzer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/dyndns/andreasbaumann/LuceneAnalyzer.java b/src/main/java/org/dyndns/andreasbaumann/LuceneAnalyzer.java index 1467f1e..fb84cf2 100644 --- a/src/main/java/org/dyndns/andreasbaumann/LuceneAnalyzer.java +++ b/src/main/java/org/dyndns/andreasbaumann/LuceneAnalyzer.java @@ -329,7 +329,7 @@ public class LuceneAnalyzer Properties p = System.getProperties( ); p.setProperty( "solr.solr.home", basePath ); LogManager.getLogManager( ).reset( ); - Logger globalLogger = Logger.getLogger( java.util.logging.Logger.GLOBAL_LOGGER_NAME ); + Logger globalLogger = Logger.getLogger( "" /* java.util.logging.Logger.GLOBAL_LOGGER_NAME */ ); globalLogger.setLevel( java.util.logging.Level.OFF ); CoreContainer cores = new CoreContainer( new SolrResourceLoader( basePath ) ); -- cgit v1.2.3-54-g00ecf