Hi,
I publish three web services, but I only want to log the incomming and
outgoing messages for one or two of those services.
I understand that the annotation @Features(features =
"org.apache.cxf.feature.LoggingFeature") at the Web Service Interface
class would do the trick, but I would rather configure logging in my
spring config instead.
I currently have a logging feature configured on the bus:
<cxf:bus>
<cxf:features>
<cxf:logging/>
</cxf:features>
</cxf:bus>
But this logs all the messages for all the published web services.
Is there a way to configure logging only for certain published endpoints?
And how about client proxies? Can I selectively enable logging for
client proxies also?
Regards,
Malte