Java CAPS allows you to initiate logging entries from a Business Process element. You specify one of the log4j log levels: FATAL, ERROR, WARN, INFO, or DEBUG. When you view the log entries in Enterprise Manager, these log levels are converted to the corresponding JDK log levels. Table 2 describes the log level mapping from most to least severe.
Table 2 log4j to Java Log Level Mapping
The logger level nodes take a Boolean data type, but you can specify that the data types be automatically converted when you define the mapping.
Open the Business Process containing the element to which you want to add a logger entry.
In the Business Process Designer, select the element.
In the Business Process Designer toolbar, click Property Sheet.
The properties for the element appear to the right of the Business Process.
Click in the Logging Properties field, and then click the ellipsis (...).
The Specify Log Messages dialog box appears.
Define the log message using the available methods.
When you are finished defining the log message, click OK.