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: Micro Focus/Verastream/ProcessServer/conf/log4j-composite.xml.

There is a Log4j tutorial available on the Apache Web site.

To create a process log

  1. Drag a log activity from the palette to the process.
    add log
  2. 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.

    log properties

  3. Test the process, verifying that the log is capturing the correct information. You can find the log in Micro Focus\Verastream\ProcessServer\logs\server.log
Related Topics
Bullet Viewing Logs
Bullet Using BPEL Extension Activities