Author: objectiser
Date: 2011-03-30 09:53:09 -0400 (Wed, 30 Mar 2011)
New Revision: 1341
Modified:
branches/ODE/RiftSaw-ODE-trunk/bpel-epr/src/main/java/org/apache/ode/bpel/epr/EndpointFactory.java
Log:
Minor change in support of RIFTSAW-325, to prevent many unnecessary warning messages being
placed in the log.
Modified:
branches/ODE/RiftSaw-ODE-trunk/bpel-epr/src/main/java/org/apache/ode/bpel/epr/EndpointFactory.java
===================================================================
---
branches/ODE/RiftSaw-ODE-trunk/bpel-epr/src/main/java/org/apache/ode/bpel/epr/EndpointFactory.java 2011-03-30
01:31:55 UTC (rev 1340)
+++
branches/ODE/RiftSaw-ODE-trunk/bpel-epr/src/main/java/org/apache/ode/bpel/epr/EndpointFactory.java 2011-03-30
13:53:09 UTC (rev 1341)
@@ -72,7 +72,11 @@
return se;
}
}
- __log.warn("Couldnt create any endpoint for element " +
DOMUtils.domToString(endpointElmt));
+ if (__log.isDebugEnabled()) {
+ // Only appears relevant if EPR explicitly set for partner link, so
+ // returns null if using default EPR from WSDL.
+ __log.debug("Couldnt create any endpoint for element " +
DOMUtils.domToString(endpointElmt));
+ }
return null;
}
Show replies by date