Hi!
I was wondering how to use raw logging information.
Currently I want to log SOAP XMLs. According to
http://cxf.apache.org/docs/message-logging.html SOAP body could be read
from message.
While using log4j with LoggingFeature, my appender pattern:
%d{ISO8601} %m%n
My logging record:
2017-03-14 14:57:17,783|Inbound Message
----------------------------
ID: 1
Address:
Encoding: UTF-8
Http-Method: POST
Content-Type: text/xml;charset=UTF-8
Headers:
Payload: SOAP
--------------------------------------
2017-03-14 14:57:18,792|Outbound Message
---------------------------
ID: 1
Response-Code: 200
Encoding: UTF-8
Content-Type: text/xml
Headers: {}
Payload: SOAP
--------------------------------------
Could you explain how to get only SOAP msg? By extends LoggingIn/Out
Interceptor or there is any easy way?
Best regards,
Drake