Adding Log Actions

Use the log action to construct a message to be logged and to define a set of attributes with which the message is logged.

Before you begin

These instructions assume you are already editing a message flow in the Edit Message Flow page, as explained in Creating, Editing, and Viewing Message Flows.

To add a Log action

  1. Navigate to where you want to add the action, as described in Adding and Editing Actions in Message Flows.
  2. Click the appropriate icon, then select Add an Action > Reporting > Log.
  3. Click <Expression>. The XQuery Expression Editor page is displayed. You specify the message context to be logged through XQuery expressions on context variables. See Creating and Editing Inline XQuery and XPath Expressions.
  4. Note: The Log action may remove blank spaces in an expression when the message is output to the console or a file. Log action output may be parser dependent.
  5. In the Annotation field, enter notes for this log action. These notes are logged along with the result of the previously defined expression.
  6. In the severity level drop-down list, select one of the options.
  7. Table 19-5 Log Action Severity Levels 
    Severity Level
    Typical Usage
    Info
    Used for reporting normal operations; a low-level informational message.
    Warning
    A suspicious operation or configuration has occurred but it might not affect normal operation.
    Error
    A user error has occurred. The system or application can handle the error with no interruption and limited degradation of service.
    Debug
    While your application is under development, you might find it useful to create and use messages that provide verbose descriptions of low-level activity within the application.

After you finish

When you complete the configuration of this action, continue by configuring other actions or by saving your configuration, as described in Adding and Editing Actions in Message Flows.