aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources/config
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-08-26 15:33:04 +0200
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-08-26 15:36:51 +0200
commitb612d671bdf74f112fc02bd9f39fb0e4b1aec501 (patch)
treebb0fd88aba2bec5505e13b5eec6e2a16792a0deb /src/test/resources/config
parent34adf17296b8f2252eb9b3274c62f40a9d18ae81 (diff)
downloadmoa-zs-b612d671bdf74f112fc02bd9f39fb0e4b1aec501.tar.gz
moa-zs-b612d671bdf74f112fc02bd9f39fb0e4b1aec501.tar.bz2
moa-zs-b612d671bdf74f112fc02bd9f39fb0e4b1aec501.zip
Log Incoming And Outgoing Messages with CXF Logging Interceptors
- Add loggin dependency. - Enable Message Logging for Services and Clients. - Add message logging config + examples to application.yaml
Diffstat (limited to 'src/test/resources/config')
-rw-r--r--src/test/resources/config/application.yaml16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/test/resources/config/application.yaml b/src/test/resources/config/application.yaml
index 110d9d8..bd864a2 100644
--- a/src/test/resources/config/application.yaml
+++ b/src/test/resources/config/application.yaml
@@ -13,8 +13,18 @@ logging:
SignatureVerifier: DEBUG
LogResponseSink: INFO
- at.gv.egiz.moazs.backend.SaveResponseToFileSink: TRACE
- at.gv.egiz.moazs.SaveResponseToFileSinkTest: TRACE
+ # Incoming and outgoing messages are logged to INFO.
+ # Log all Incoming / Outgoing Messages.
+ #org.apache.cxf.services : INFO
+
+ # Fine tune logging of messages per service / client:
+ # Format: <service namespace>.<ServiceName>.<type>
+ # Examples:
+ #org.apache.cxf.services.app2mzsPortType.REQ_IN : INFO
+ #org.apache.cxf.services.app2mzsPortType.RESP_OUT : INFO
+ #org.apache.cxf.services.App2ZusePort.REQ_OUT : INFO
+ #org.apache.cxf.services.App2ZusePort.RESP_IN: INFO
+ # More information: https://codenotfound.com/apache-cxf-logging-soap-request-response-fault-messages-example.html
# Mandatory
# Default type for java's ssl key/trust store. When in doubt, set to
@@ -105,7 +115,7 @@ delivery-request-configuration-profiles:
path: /msg-responses/
# Mandatory
- # Log response to the at.gv.egiz.moazs.backend.LogResponseSink Logger.
+ # Log response to the at.gv.egiz.moazs.backend.LogResponseSink Logger, level INFO
log-response: true
# Mandatory