incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r610361 - /incubator/sling/whiteboard/fmeschbe/resource/launcher/app/src/main/java/org/apache/sling/launcher/app/main/Main.java
Date Wed, 09 Jan 2008 12:17:58 GMT
Author: fmeschbe
Date: Wed Jan  9 04:17:45 2008
New Revision: 610361

URL: http://svn.apache.org/viewvc?rev=610361&view=rev
Log:
Limit logging of the framework to ERROR to prevent warnings from
the framework class loader to fill the logs.

Modified:
    incubator/sling/whiteboard/fmeschbe/resource/launcher/app/src/main/java/org/apache/sling/launcher/app/main/Main.java

Modified: incubator/sling/whiteboard/fmeschbe/resource/launcher/app/src/main/java/org/apache/sling/launcher/app/main/Main.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/fmeschbe/resource/launcher/app/src/main/java/org/apache/sling/launcher/app/main/Main.java?rev=610361&r1=610360&r2=610361&view=diff
==============================================================================
--- incubator/sling/whiteboard/fmeschbe/resource/launcher/app/src/main/java/org/apache/sling/launcher/app/main/Main.java
(original)
+++ incubator/sling/whiteboard/fmeschbe/resource/launcher/app/src/main/java/org/apache/sling/launcher/app/main/Main.java
Wed Jan  9 04:17:45 2008
@@ -115,7 +115,10 @@
             commandLine.put(LOG_LEVEL_PROP, String.valueOf(logLevel));
         }
         Logger logger = new Logger();
-        logger.setLogLevel(logLevel);
+        
+        // prevent tons of needless WARN from the framework
+//        logger.setLogLevel(logLevel);
+        logger.setLogLevel(Logger.LOG_ERROR);
 
         try {
             ResourceProvider resProvider = new ClassLoaderResourceProvider(



Mime
View raw message