Developer Guide to the BPEL Designer

ProcedureTo log the variable value:

  1. On the diagram, select an activity. The logging will be performed in connection with the activity execution.

  2. Go to the Logging tab of the BPEL Editor. The Logging mapper opens. You can also open the Logging mapper by right clicking the activity and choosing Go To > Logging (Alt-L).

  3. In the source tree pane, expand the variables tree until the variable to be traced is visible.

  4. In the destination tree pane expand the activity node. The nodes designating the moment of logging become visible.

  5. Choose when the logging entry should be made and expand the appropriate node:

    • LOG_onStart. The variable value is written to the log when the activity starts.

    • LOG_onComplete. The variable value is written to the log when the activity execution is complete.

  6. Define the level of logging. Drag the connection from the variable to be traced to the appropriate node in the destination tree pane. The following levels of logging are available:

    • Severe

    • Warning

    • Info

    • Config

    • Fine

    • Finer

      In the Design view a small icon appears next to the activity with logging defined on it. By clicking the icon you can switch to the Logging mapper.

    The entry to the log will be made only if the log level defined for the variable corresponds to the log level specified for the BPEL SE on the application server.