Using the WebSphere Commerce Search service logger

You can use the WebSphere Commerce Search service logger to check logging information by capturing search activities from the storefront.

Before you begin

Ensure that you deploy the Aurora starter store. Then, you can use the WebSphere Commerce Search service logger to check logging information about storefront search services that are provided to shoppers.

Procedure

Enable the WebSphere Commerce Search service logger:
  1. Open the WebSphere Application Server Administrator's Console. To do so within Rational Application Developer, right-click the WebSphere Commerce Test Server and select Administration > Run administrative console.
  2. Expand Troubleshooting > Logs and Trace. The Logging and Tracing page displays in the workspace on the right.
  3. Click the server for which you want to enable the tracing (such as 'solrServer'). The window refreshes to display the logging and tracing options for the server.
  4. Click Diagnostic Trace. The Diagnostic Trace Service window displays in the workspace.
  5. Click the Configuration or Runtime tab.
    Changes made to Configuration are stored on the file system and applied when the server starts. You must restart the server to pick up any changes. Restarting the server finds issues that originate or occur when the server is initiated. Modifications to Runtime are applied immediately and are lost after the server is restarted.
  6. Select Change Log Detail Levels to specify which component or components you would like tracing enabled for.

    The WebSphere Commerce Search service logger is denoted by com.ibm.commerce.foundation.logging.ServiceLogger.

  7. Save the changed configuration.
  8. Start the server.