Author: alessio.soldano(a)jboss.com
Date: 2010-06-10 12:12:51 -0400 (Thu, 10 Jun 2010)
New Revision: 12457
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/etc/log4j.xml
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/interop/wstrust10/AsymmetricBindingClientTestCase.java
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/interop/wstrust10/SymmetricBindingClientTestCase.java
stack/cxf/trunk/modules/testsuite/framework-tests/src/test/etc/log4j.xml
Log:
Fixing a couple of logs and adding org.jboss.wsf category to log4j conf
Modified: stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/etc/log4j.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/etc/log4j.xml 2010-06-10 11:35:48
UTC (rev 12456)
+++ stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/etc/log4j.xml 2010-06-10 16:12:51
UTC (rev 12457)
@@ -51,6 +51,10 @@
<priority value="DEBUG"/>
</category>
+ <category name="org.jboss.wsf">
+ <priority value="DEBUG"/>
+ </category>
+
<category name="org.jboss.test.ws">
<priority value="TRACE"/>
</category>
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/interop/wstrust10/AsymmetricBindingClientTestCase.java
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/interop/wstrust10/AsymmetricBindingClientTestCase.java 2010-06-10
11:35:48 UTC (rev 12456)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/interop/wstrust10/AsymmetricBindingClientTestCase.java 2010-06-10
16:12:51 UTC (rev 12457)
@@ -32,6 +32,7 @@
import org.apache.cxf.Bus;
import org.apache.cxf.BusFactory;
import org.apache.cxf.bus.spring.SpringBusFactory;
+import org.jboss.logging.Logger;
import
org.jboss.test.ws.jaxws.cxf.interop.wstrust10.interopbaseaddress.interop.IPingService;
import org.jboss.wsf.test.JBossWSTest;
import org.jboss.wsf.test.JBossWSTestSetup;
@@ -47,6 +48,8 @@
*/
public class AsymmetricBindingClientTestCase extends JBossWSTest
{
+ private static final Logger log =
Logger.getLogger(AsymmetricBindingClientTestCase.class);
+
private Bus bus;
public static Test suite()
@@ -90,7 +93,7 @@
private void loadBus(String scenario) throws Exception
{
- System.out.println("Loading bus for " + scenario + "...");
+ log.info("Loading bus for " + scenario + "...");
SpringBusFactory busFactory = new SpringBusFactory();
URL cxfConfig = getResourceURL("jaxws/cxf/interop/wstrust10/META-INF/" +
scenario + "-client-config.xml");
bus = busFactory.createBus(cxfConfig);
@@ -100,7 +103,7 @@
@Override
protected void tearDown() throws Exception
{
- System.out.println("... bus teardown");
+ log.info("... bus teardown");
if (bus != null)
bus.shutdown(true);
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/interop/wstrust10/SymmetricBindingClientTestCase.java
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/interop/wstrust10/SymmetricBindingClientTestCase.java 2010-06-10
11:35:48 UTC (rev 12456)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/interop/wstrust10/SymmetricBindingClientTestCase.java 2010-06-10
16:12:51 UTC (rev 12457)
@@ -32,6 +32,7 @@
import org.apache.cxf.Bus;
import org.apache.cxf.BusFactory;
import org.apache.cxf.bus.spring.SpringBusFactory;
+import org.jboss.logging.Logger;
import
org.jboss.test.ws.jaxws.cxf.interop.wstrust10.interopbaseaddress.interop.IPingService;
import org.jboss.wsf.test.JBossWSTest;
import org.jboss.wsf.test.JBossWSTestSetup;
@@ -46,6 +47,8 @@
*/
public class SymmetricBindingClientTestCase extends JBossWSTest
{
+ private static final Logger log =
Logger.getLogger(SymmetricBindingClientTestCase.class);
+
private Bus bus;
public static Test suite()
@@ -106,7 +109,7 @@
private void loadBus(String scenario) throws Exception
{
- System.out.println("Loading bus for " + scenario + "...");
+ log.info("Loading bus for " + scenario + "...");
SpringBusFactory busFactory = new SpringBusFactory();
URL cxfConfig = getResourceURL("jaxws/cxf/interop/wstrust10/META-INF/" +
scenario + "-client-config.xml");
bus = busFactory.createBus(cxfConfig);
@@ -116,7 +119,7 @@
@Override
protected void tearDown() throws Exception
{
- System.out.println("... bus teardown");
+ log.info("... bus teardown");
if (bus != null)
bus.shutdown(true);
Modified: stack/cxf/trunk/modules/testsuite/framework-tests/src/test/etc/log4j.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/framework-tests/src/test/etc/log4j.xml 2010-06-10
11:35:48 UTC (rev 12456)
+++ stack/cxf/trunk/modules/testsuite/framework-tests/src/test/etc/log4j.xml 2010-06-10
16:12:51 UTC (rev 12457)
@@ -56,6 +56,10 @@
<priority value="TRACE"/>
</category>
+ <category name="org.jboss.test.wsf">
+ <priority value="TRACE"/>
+ </category>
+
<category name="org.apache.cxf">
<priority value="INFO"/>
</category>
Show replies by date