geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r438695 - /geronimo/server/trunk/modules/geronimo-kernel/src/test/java/org/apache/geronimo/kernel/GBeanTest.java
Date Wed, 30 Aug 2006 22:52:31 GMT
Author: jdillon
Date: Wed Aug 30 15:52:30 2006
New Revision: 438695

URL: http://svn.apache.org/viewvc?rev=438695&view=rev
Log:
Don't modify logging configuration, use the defaults

Modified:
    geronimo/server/trunk/modules/geronimo-kernel/src/test/java/org/apache/geronimo/kernel/GBeanTest.java

Modified: geronimo/server/trunk/modules/geronimo-kernel/src/test/java/org/apache/geronimo/kernel/GBeanTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-kernel/src/test/java/org/apache/geronimo/kernel/GBeanTest.java?rev=438695&r1=438694&r2=438695&view=diff
==============================================================================
--- geronimo/server/trunk/modules/geronimo-kernel/src/test/java/org/apache/geronimo/kernel/GBeanTest.java
(original)
+++ geronimo/server/trunk/modules/geronimo-kernel/src/test/java/org/apache/geronimo/kernel/GBeanTest.java
Wed Aug 30 15:52:30 2006
@@ -25,6 +25,7 @@
 import junit.framework.Test;
 import junit.framework.TestCase;
 import junit.framework.TestSuite;
+
 import org.apache.geronimo.gbean.AbstractName;
 import org.apache.geronimo.gbean.AbstractNameQuery;
 import org.apache.geronimo.gbean.GBeanData;
@@ -34,10 +35,6 @@
 import org.apache.geronimo.kernel.proxy.ProxyFactory;
 import org.apache.geronimo.kernel.proxy.ProxyManager;
 import org.apache.geronimo.kernel.repository.Artifact;
-import org.apache.log4j.ConsoleAppender;
-import org.apache.log4j.Level;
-import org.apache.log4j.Logger;
-import org.apache.log4j.PatternLayout;
 
 /**
  * @version $Rev:386515 $ $Date$
@@ -527,8 +524,6 @@
 
     protected void setUp() throws Exception {
         super.setUp();
-        Logger.getRootLogger().addAppender(new ConsoleAppender(new PatternLayout("%p [%t]
%m %n")));
-        Logger.getRootLogger().setLevel(Level.DEBUG);
         realKernel = KernelFactory.newInstance().createKernel("test");
         realKernel.boot();
         kernel = kernelWraper.wrap(realKernel);



Mime
View raw message