How to Log Process Information
This activity adds the ability to capture log information for the running process using the settings you provide. The Process Designer uses a Java-based logging utility, Apache log4j. The configuration file for log4j is located here:
There is a Log4j tutorial available on the Apache Web site.
To create a process log
Drag a log activity from the palette to the process.
In the Properties panel, set the different properties required for your log activity. Because the log extension is associated with a variable, you can also set these properties using the Copy Rule dialog box. The process always uses the most recently configured properties. For example, if you set log properties in the Copy Rule dialog box, and then set new properties in the Properties panel, the Properties panel settings will override those set in the Copy Rule dialog box.
Set the level at which you want to log events. The following table provides a brief description. See the Log4j tutorial for more detailed information.
Logging levels Description
Choose this option to use previously set properties. TRACE Provides informational events that are more fine-tuned than those designated at the DEBUG level. DEBUG Provides informational events most useful for debugging the process. INFO Provides informational messages that highlight process' progress at a course-grained level. WARN Describes potentially harmful situations. ERROR Designates error events that may not stop the process from running. FATAL Describes severe errors that presumably will terminate the process.
Provide a name and a message for the log.
Test the process, verifying that the log is capturing the correct information. You can find the log in