improve logging to chase a test failure.

Project: http://git-wip-us.apache.org/repos/asf/ode/repo
Commit: http://git-wip-us.apache.org/repos/asf/ode/commit/f70933c4
Tree: http://git-wip-us.apache.org/repos/asf/ode/tree/f70933c4
Diff: http://git-wip-us.apache.org/repos/asf/ode/diff/f70933c4

Branch: refs/heads/master
Commit: f70933c4358a48d1b32494fb5df0a913aac3ac87
Parents: f3beffe
Author: Tammo van Lessen <[email protected]>
Authored: Wed Feb 25 23:43:01 2015 +0100
Committer: Tammo van Lessen <[email protected]>
Committed: Wed Feb 25 23:43:01 2015 +0100

----------------------------------------------------------------------
 axis2-war/src/test/java/org/apache/ode/axis2/Axis2TestBase.java | 1 +
 axis2-war/src/test/resources/test-log4j.properties              | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ode/blob/f70933c4/axis2-war/src/test/java/org/apache/ode/axis2/Axis2TestBase.java
----------------------------------------------------------------------
diff --git a/axis2-war/src/test/java/org/apache/ode/axis2/Axis2TestBase.java 
b/axis2-war/src/test/java/org/apache/ode/axis2/Axis2TestBase.java
index bac073b..4fe655d 100644
--- a/axis2-war/src/test/java/org/apache/ode/axis2/Axis2TestBase.java
+++ b/axis2-war/src/test/java/org/apache/ode/axis2/Axis2TestBase.java
@@ -248,6 +248,7 @@ public abstract class Axis2TestBase {
     }
 
     public String sendRequestFile(String endpoint, String filename) {
+        log.debug("Sending SOAP request file " + filename + " to " + endpoint);
         try {
             URL url = new URL(endpoint);
             // override the port if necessary but only if the given port is 
the default one

http://git-wip-us.apache.org/repos/asf/ode/blob/f70933c4/axis2-war/src/test/resources/test-log4j.properties
----------------------------------------------------------------------
diff --git a/axis2-war/src/test/resources/test-log4j.properties 
b/axis2-war/src/test/resources/test-log4j.properties
index 09b8e7c..2bc7053 100644
--- a/axis2-war/src/test/resources/test-log4j.properties
+++ b/axis2-war/src/test/resources/test-log4j.properties
@@ -38,4 +38,6 @@ log4j.category.httpclient.Wire=WARN
 log4j.category.org.apache.ode=INFO
 log4j.category.hibernate=WARN
 log4j.category.org.hibernate=WARN
-log4j.category.org.apache.axis2=INFO
\ No newline at end of file
+log4j.category.org.apache.axis2=INFO
+log4j.category.org.apache.ode.bpel.iapi.BpelEventListener=DEBUG
+log4j.category.org.apache.ode.axis2.Axis2TestBase=DEBUG
\ No newline at end of file

Reply via email to