It can only be used to disable the logging if it is explicitly set and is false:

https://github.com/apache/cxf/blob/master/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/AbstractLoggingInterceptor.java#L49

Sergey
On 19/01/18 11:09, Colm O hEigeartaigh wrote:
I don't see "org.apache.cxf.logging.enabled" set anywhere in the systests
or is it enabled a different way?

Colm.

On Fri, Jan 19, 2018 at 11:00 AM, Sergey Beryozkin <sberyoz...@gmail.com>
wrote:

These new interceptors are used in systests, no problems.
That property is used to switch the logging on/off dynamically...

Cheers, Sergey

On 19/01/18 10:56, Colm O hEigeartaigh wrote:

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.





Reply via email to