Hi

First of all, similarly to the SOAP services, REST endpoints can have their QNames, by default this is a "{packagename}ClassName", or it can be set to any expanded QName format with a 'serviceName' property.

The feature checks the service qname specific categories so I guess this is one way to exclude.
https://github.com/apache/cxf/blob/master/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/slf4j/Slf4jEventSender.java

also uses the Marker factory - I haven't tried but perhaps it can help too

Sergey
On 16/06/17 07:48, Vjacheslav V. Borisov wrote:
I want to exclude Rest resource from logging

2017-06-16 10:35 GMT+04:00 vEnkaTa mohAna rAo SriperumbUdUru <
[email protected]>:

Could you please tell what do you mean by resource do you want it for Soap
or Rest.

On Fri, Jun 16, 2017 at 11:45 AM, Vjacheslav V. Borisov <[email protected]

wrote:

Hi!

Does it possible to exclude resource from logging feature
org.apache.cxf.ext.logging.LoggingFeature ?

I do not want some resourse to show request and response logs





--
Sergey Beryozkin

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

Reply via email to