axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sc...@apache.org
Subject svn commit: r508434 - in /webservices/axis2/trunk/java/modules/jaxws: src/org/apache/axis2/jaxws/utility/SimpleServer.java test-resources/log4j.properties test/org/apache/axis2/jaxws/framework/JAXWSTest.java
Date Fri, 16 Feb 2007 14:58:34 GMT
Author: scheu
Date: Fri Feb 16 06:58:33 2007
New Revision: 508434

URL: http://svn.apache.org/viewvc?view=rev&rev=508434
Log:
AXIS2-2203
Contributor:Rich Scheuerle
Set log4.properties to info

Modified:
    webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/utility/SimpleServer.java
    webservices/axis2/trunk/java/modules/jaxws/test-resources/log4j.properties
    webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/framework/JAXWSTest.java

Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/utility/SimpleServer.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/utility/SimpleServer.java?view=diff&rev=508434&r1=508433&r2=508434
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/utility/SimpleServer.java
(original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/utility/SimpleServer.java
Fri Feb 16 06:58:33 2007
@@ -21,6 +21,7 @@
 import org.apache.axis2.context.ConfigurationContext;
 import org.apache.axis2.context.ConfigurationContextFactory;
 import org.apache.axis2.transport.http.SimpleHTTPServer;
+import org.apache.log4j.BasicConfigurator;
 
 
 
@@ -68,7 +69,9 @@
     }
     
     public static void main(String[] args) throws Exception {
-        //org.apache.log4j.BasicConfigurator.configure();
+        // To change the settings, edit the log4j.property file
+        // in the test-resources directory.
+        BasicConfigurator.configure();
         SimpleServer server = new SimpleServer();
         server.start();
 	}

Modified: webservices/axis2/trunk/java/modules/jaxws/test-resources/log4j.properties
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test-resources/log4j.properties?view=diff&rev=508434&r1=508433&r2=508434
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test-resources/log4j.properties (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test-resources/log4j.properties Fri Feb 16
06:58:33 2007
@@ -15,8 +15,9 @@
 # -------------------------------------------------------------------
 
 # Set root category priority to INFO and its only appender to CONSOLE.
-log4j.rootCategory=DEBUG, CONSOLE
+#log4j.rootCategory=DEBUG, CONSOLE
 #log4j.rootCategory=INFO, CONSOLE, LOGFILE
+log4j.rootCategory=INFO, CONSOLE
 
 # Set the enterprise logger priority to FATAL
 log4j.logger.org.apache.axis2.enterprise=FATAL

Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/framework/JAXWSTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/framework/JAXWSTest.java?view=diff&rev=508434&r1=508433&r2=508434
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/framework/JAXWSTest.java
(original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/framework/JAXWSTest.java
Fri Feb 16 06:58:33 2007
@@ -78,10 +78,11 @@
 public class JAXWSTest extends TestCase {
     
     static {
-        // Uncomment the following line to enable debug
         // Note you will probably need to increase the java heap size, for example
         // -Xmx512m.  This can be done by setting maven.junit.jvmargs in project.properties.
-        // BasicConfigurator.configure();
+        // To change the settings, edit the log4j.property file
+        // in the test-resources directory.
+        BasicConfigurator.configure();
     }
     
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message