cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colm O hEigeartaigh <cohei...@apache.org>
Subject Re: New Logging interceptors
Date Mon, 22 Jan 2018 16:59:14 GMT
Thanks Christian - I've updated the wiki page to make this point a bit
clearer.

Colm.

On Fri, Jan 19, 2018 at 1:04 PM, Christian Schneider <
chris@die-schneider.net> wrote:

> Instead of the interceptors you should use the new LoggingFeature. It will
> make sure the interceptors are correctly wired.
> If you use it like this then the system property is not required.
>
> See http://cxf.apache.org/docs/message-logging.html
>
> Christian
>
> 2018-01-19 11:56 GMT+01:00 Colm O hEigeartaigh <coheigea@apache.org>:
>
>> Hi all,
>>
>> With the old logging interceptors in CXF core (org.apache.cxf.interceptor)
>> you just had to attach them to the interceptor chain to see the
>> outbound/inbound requests. These interceptors are now deprecated.
>>
>> However in the new interceptors (org.apache.cxf.ext.logging), attaching
>> them to the interceptor chain is not enough to see the requests. You also
>> need to set the system property org.apache.cxf.logging.enabled to "true".
>>
>> Is this change in behaviour intended?
>>
>> Colm.
>>
>>
>> --
>> Colm O hEigeartaigh
>>
>> Talend Community Coder
>> http://coders.talend.com
>>
>
>
>
> --
> --
> Christian Schneider
> http://www.liquid-reality.de
>
> Computer Scientist
> http://www.adobe.com
>
>


-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message