I fixed this documentation bug, please make sure

xmlns:cxf="http://cxf.apache.org/core"; is available on the bean element,
and update xsi:schemaLocations :
"http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd";

thanks, Sergey

----- Original Message ----- From: "Nathaniel Auvil" <[email protected]>
To: <[email protected]>
Sent: Tuesday, June 30, 2009 6:40 PM
Subject: logging documentation bug


Just wanted to point out the logging documentation under the REST section is
incorrect.  The documentation says to add the following to your beans.xml:

<jaxrs:server>
<jaxrs:features>
    <cxf:logging/>
</jaxrs:features>
<jaxrs:server>

I got it to work by doing the following:

<jaxrs:server>
<jaxrs:features>
 <ref bean="loggingFeature" />
</jaxrs:features>
<jaxrs:server>
...
<bean id="loggingFeature" class="org.apache.cxf.feature.LoggingFeature" />

Reply via email to