cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <>
Subject Re: Log incoming message with the corresponding response
Date Sun, 29 Nov 2015 19:51:20 GMT
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 
this asap.

For now you can see:

The new logging feature by default logs using slf4j but it provides a 
very simple SPI where you can hook in any logging backend you want.


Am 27.11.2015 um 09:07 schrieb 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 (like message observer for the outgoing
> message)?
> Could you help me?

View raw message