Auditing the usage of objects

How to set up auditing of objects such as maps, filters, and views to determine which are being used.

Procedure

  1. Open the JazzSM_WAS_Profile/config/cells/JazzSMNode01Cell/nodes/JazzSMNode01/servers/server1/server.xml for editing and edit the file as follows:
    • Find the <services xmi:type="loggingservice.http:HTTPAccessLoggingService" fragment and change the enable attribute of the <services> element to true. For example:
      <services xmi:type="loggingservice.http:HTTPAccessLoggingService" 
        xmi:id="HTTPAccessLoggingService_1183077764084" 
        enable="true" enableErrorLogging="true" 
        enableAccessLogging="true">
          <errorLog xmi:id="LogFile_1183077764084" 
            filePath="${SERVER_LOG_ROOT}/http_error.log" 
            maximumSize="500"/>
          <accessLog xmi:id="LogFile_1183077764085" 
            filePath="${SERVER_LOG_ROOT}/http_access.log" 
            maximumSize="500"/>
        </services>
    • Add the following attributes to the same <services> element:
      • errorLogLevel="DEBUG"
      • accessLogFormat="COMBINED"
    • Find the 4 <transportChannels> elements that have an xmi:type attribute with a value channelservice.channels:HTTPInboundChannel. In each of these elements, set the value of the enableLogging attribute to true.
  2. Restart the server.

Results

Page navigation is recorded in the following log files, in JazzSM_WAS_Profile/logs/server1:
  • http_access.log
  • http_error.log