Re: Log incoming message with the corresponding response

2015-12-03 Thread Sergey Maslov
Guys, Christian, Could I set LoggingFeature for logging application requests acting as a web service client? I looks like, it is for endpoints only. What could I use for ws client logging to log request and response (with the similar functionality as LoggingFeature)? Sergey Maslov On Mon, Nov

Re: Log incoming message with the corresponding response

2015-12-03 Thread Sergey Maslov
Thank you! I've cleared up this by myself. I can configure it like the usual feature in the features section! Sergey Maslov On Fri, Dec 4, 2015 at 12:37 PM, Sergey Maslov wrote: > Guys, Christian, > Could I set LoggingFeature for logging application requests acting as a

Re: Log incoming message with the corresponding response

2015-11-30 Thread Sergey Maslov
Christian, thank you! It looks like it's just what I need! Best regards, Sergey Maslov On Mon, Nov 30, 2015 at 2:21 PM, Christian Schneider < ch...@die-schneider.net> wrote: > You should be able to do the custom logging / filtering with the new > LoggingFeature. > > See: > >

Re: Log incoming message with the corresponding response

2015-11-30 Thread Christian Schneider
You should be able to do the custom logging / filtering with the new LoggingFeature. See: https://github.com/apache/cxf/blob/master/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/LoggingFeature.java

RE: Log incoming message with the corresponding response

2015-11-29 Thread Andrei Shakirin
> Subject: Log incoming message with the corresponding response > > Hi. > My application provides SOAP web services using CXF. I need to log incoming > request with the corresponding response from my webservice. > I've check the interceptor phases for the incoming chain but it look

Re: Log incoming message with the corresponding response

2015-11-29 Thread Christian Schneider
Hi Sergey, CXF has a new logging feature since 3.1 now. It provides a message id as well as an exchange id out of the box. It even sends the message id over the wire so you can also correlate a sent and received message. Unfortunately I did not yet update the CXF documentation. I will do

Re: Log incoming message with the corresponding response

2015-11-29 Thread Sergey Maslov
Andrey, Christian, thank you. That would help me much except just one thing: I need to log requests and responses to the project MongoDB along with the simple log file. So we have special package dealing with logging to MongoDB (separate job and threads), containing some additional information and

Re: Log incoming message with the corresponding response

2015-11-27 Thread Sergey Maslov
Jim, thank you for the answer, but that doesn't help me all. I've checked , that in the BackChannelConduit class message is filled by response with message.put(HTTP_RESPONSE, response) so later this could be read at the post-invoke phase. I believe, this could help for the case I have message

Log incoming message with the corresponding response

2015-11-27 Thread Sergey Maslov
Hi. My application provides SOAP web services using CXF. I need to log incoming request with the corresponding response from my webservice. I've check the interceptor phases for the incoming chain but it looks like I have no information about outgoing message body. Maybe I should use some observer

Re: Log incoming message with the corresponding response

2015-11-27 Thread Jim Talbut
On 27/11/2015 08:07, Sergey Maslov wrote: Hi. My application provides SOAP web services using CXF. I need to log incoming request with the corresponding response from my webservice. I've check the interceptor phases for the incoming chain but it looks like I have no information about outgoing