This topic applies only to the IBM Business Automation Workflow Advanced
configuration.

Tutorial: Logging service component events

Draft comment:
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15
For service component event points that you monitor, events can be published to the logging facilities of the underlying WebSphere® Application Server. This tutorial guides you through an example of setting up monitoring with logging, and how to view events stored in a log file.

The scenario you will follow for this example will show you how to select service component event points for monitoring in applications already deployed and running on a server. You will see how the monitoring function fires an event whenever the processing of an application reaches one of those event points. Each of those fired events takes the form of a standardized Common Base Event, which is published as an XML string directly to a log file.

Objectives of this tutorial

After completing this tutorial you will be able to:
  • Select service component event points to monitor, with the output published to the server loggers.
  • View the stored events in the log files.

Time required to complete this tutorial

This tutorial requires approximately 15-20 minutes to complete.

Prerequisites

In order to perform this tutorial, you must have:
  • Configured and started a server.
  • Configured Common Event Infrastructure.
  • Enabled the diagnostic trace service on the server.
  • Installed and started the Samples Gallery application on the server.
  • Installed and started the business rules sample application on the server. Follow the instructions on the Samples Gallery page to set up and run the business rules sample application.
After all of these prerequisites have been completed, run the business rules sample application from the Samples Gallery at least once before proceeding with the tutorial.