webMethods and Intelligent Business Operations 10.2 | Integrating Cloud Applications | Administering CloudStreams | Policies | The Policy Actions | The Policy Action Reference | Log Invocation
 
Log Invocation
Logs request/response payloads. You can log the payloads in the database and/or send the payloads in the form of email alerts. This action also logs other information about the request/response, including the service name, operation name, the Integration Server user, a timestamp, the response time, and more.
Input Parameters
Log Generation Frequency
Specifies how frequently to log the payload.
*Always: Log all requests and/or responses.
*On Success: Log only the successful requests and/or responses.
*On Failure: Log only the failed requests and/or responses.
Log the Following Payloads
Specifies whether to log all request payloads, all response payloads, or both.
*Log Request: Log all request payloads.
*Log Response: Log all response payloads.
Send Data To
Specify where to log the payloads.
*Database: Default. Logs the payloads in the CloudStreams Analytics database.
Note: Ensure that you also select the Database Publishing option in Integration Server Administrator (go to Solutions > wst > Administration > Database), as described in Setting the Database Options for Publishing Performance Metrics and Events.
*Server Log: Logs the payloads in the server log of the Integration Server on which CloudStreams is running.
Also choose a value in the Log Level field:
*Info: Logs error-level, warning-level, and informational-level alerts.
*Warn: Logs error-level and warning-level alerts.
*Error: Logs only error-level alerts.
Note: The Integration Server Administrator's logging level for CloudStreams should match the logging level specified for this action (in the Integration Server Administrator go to Settings > Logging > Server Logger).
Alert Email
Right-click the action name and click Add Alert Email to send the payloads in an email alert to the email address you specify in the Email ID field. You can select Add Alert Email multiple times to add multiple email addresses.
Note: Ensure that you set the email options in Integration Server Administrator (go to Solutions > CloudStreams > Administration > Email), as described in Setting the E-mail Options for Logging Payloads and Sending Performance Monitoring Alerts.

Copyright © 2015- 2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release