You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2018/04/23 10:53:58 UTC
[cxf] 01/02: Adding LoggingFeature to WS-Discover demo
This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 2b83d5f3872c08507e10fcad928f09c846e0991a
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Mon Apr 23 11:45:33 2018 +0100
Adding LoggingFeature to WS-Discover demo
---
.../src/main/java/org/apache/cxf/samples/discovery/Main.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/distribution/src/main/release/samples/ws_discovery/src/main/java/org/apache/cxf/samples/discovery/Main.java b/distribution/src/main/release/samples/ws_discovery/src/main/java/org/apache/cxf/samples/discovery/Main.java
index e58c4ce..7cc756a 100644
--- a/distribution/src/main/release/samples/ws_discovery/src/main/java/org/apache/cxf/samples/discovery/Main.java
+++ b/distribution/src/main/release/samples/ws_discovery/src/main/java/org/apache/cxf/samples/discovery/Main.java
@@ -25,6 +25,8 @@ import java.net.ServerSocket;
import javax.xml.ws.Endpoint;
+import org.apache.cxf.ext.logging.LoggingFeature;
+
public final class Main {
private Main() {
@@ -43,6 +45,6 @@ public final class Main {
String address = "http://localhost:" + port + "/Greeter";
System.out.println("Publishing on " + address);
- Endpoint.publish(address, new GreeterImpl(port));
+ Endpoint.publish(address, new GreeterImpl(port), new LoggingFeature());
}
}
--
To stop receiving notification emails like this one, please contact
coheigea@apache.org.