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 <
ch...@die-schneider.net> wrote:
> Instead of the interceptors you should use the new LoggingFeature. It will
> make sure the interceptors are correctly wir
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 hEigeartaig
May be that property was already set somewhere to false, hence reseting
it to true made a diff, might be worth debugging what
isLoggingDisabledNow returns...
Sergey
On 19/01/18 11:20, Colm O hEigeartaigh wrote:
In a test I was working with, message logging only worked when I added the
new inte
In a test I was working with, message logging only worked when I added the
new interceptors to the interceptor chain if I explicitly set the system
property to "true". Otherwise nothing was logged.
Colm.
On Fri, Jan 19, 2018 at 11:15 AM, Sergey Beryozkin
wrote:
> It can only be used to disable
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.apac
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
wrote:
> These new interceptors are used in systests, no problems.
> That property is used to switch the logging on/off dynamicall
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
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