The jaxws:endpoint and jaxws:client elements have a jaxws:features child 
element that is configured the same way.

Dan


On Tue October 20 2009 12:10:37 pm Malte Finsterwalder wrote:
> 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
> 

-- 
Daniel Kulp
[email protected]
http://www.dankulp.com/blog

Reply via email to