Configuring named user and component logging

You can enable named user and component type logging by specifying logging properties in Integrated Solutions Console.

Named user logging enables you to target specific users for detailed logging without changing the general logging level for the rest of the user base. Filtering log information for individual users helps troubleshoot issues in a production environment with minimal performance overhead.

Component logging enables you to log specific components of the model for troubleshooting purposes. For example, you can enable logging for a class in the business model layer, such as the user class.

Note: For more information on configuring log detail levels, refer to Integrated Solutions Console documentation.
To configure named user and component logging:
  1. In Integrated Solutions Console, navigate to the Logging and tracing page and select the server on which you want to enable logging.
  2. Navigate to the Diagnostic trace service page and select Change log detail levels.
  3. To enable named user or component logging, do either of the following:
    • Add properties for the users or components that you want to log directly in the field at the top of the components list.
    • Use the user interface to generate properties for the users or components that you want to log.
      Note: Named user categories may not be available in the user interface.
  4. Close Integrated Solutions Console.
Log messages for each user specified in WebSphere Integrated Solutions Console will be output in the application's log file. Logs will also be output for each component type that you specified.