Previous Topic: REST Logging

Next Topic: Start a Secondary Server

Enable CXF Logging

USDK> disables CXF logging by default because it can affect performance on a production environment. If your environment requires logging for debugging purposes, the administrator can modify the beans.xml file to enable CXF logging.

Follow these steps:

  1. Locate the beans.xml file in the following directory:
    NX_ROOT\bopcfg\www\CATALINA_BASE_REST\webapps\caisd-rest\WEB-INF 
    
  2. Locate the following section of the XML file:
    <cxf:bus>
    	<cxf:features>
    	</cxf:features>
    </cxf:bus>
    
  3. Add <cxf:logging/> to the section, as shown in the following example:
    <cxf:bus>
    	<cxf:features>
    	   <cxf:logging/>
    	</cxf:features>
    </cxf:bus>
    
  4. Save the XML file.