CentraSite Documentation : Runtime Governance with CentraSite : Run-Time Governance Reference : Built-In Run-Time Actions Reference for APIs : Run-Time Actions Reference : Log Invocation
Log Invocation
This action logs request/response payloads. You can specify the log destination and the logging frequency. This action also logs other information about the requests/responses, such as the API name, operation name, the Integration Server user, a timestamp, and the response time.
Input Parameters
Payloads
String. Specify whether to log all request/response payloads.
Value
Description
Request
Logs all request payloads.
Response
Logs all response payloads.
Log Generation Frequency
String. Specify how frequently to log the payload.
Value
Description
Always
Logs all requests and/or responses.
On Success
Logs only the successful responses and/or requests.
On Failure
Logs only the failed requests and/or responses.
Send Data To
String. Specify where to log the payload.
Important:  
Ensure that Mediator is configured to log the payloads to the destination(s) you specify here. For details, see Administering webMethods Mediator.
Value
Description
CentraSite
Logs the payloads in the API's Events profile in CentraSite.
Prerequisite: You must configure Mediator to communicate with CentraSite (in the Integration Server Administrator, go to Solutions > Mediator > Administration > CentraSite Communication). For the procedure, see Administering webMethods Mediator.
Local Log
Logs the payloads in the server log of the Integration Server on which Mediator is running.
Also choose a value in the Log Level field:
*Info: logs the error-level, warning-level, and informational-level alerts.
*Warn: logs the error-level and warning-level alerts.
*Error: logs only error-level alerts.
Important:  
The Integration Server Administrator's logging level for Mediator should match the logging level specified for this action (go to Settings > Logging > Server Logger).
SNMP
Logs the payloads in CentraSite's SNMP server or a third-party SNMP server.
Prerequisite: You must configure the SNMP server destination (in the Integration Server Administrator, go to Solutions > Mediator > Administration > SNMP). For the procedure, see Administering webMethods Mediator.
Email
Sends the payloads to an SMTP email server, which sends them to the email address(es) you specify here. Mediator sends the payloads as email attachments that are compressed using gzip data compression. To specify multiple addresses, use the plus button to add rows.
Prerequisite: You must configure the SMTP server destination (in the Integration Server Administrator, go to Solutions > Mediator > Administration > Email). For the procedure, see Administering webMethods Mediator.
Audit Log
Logs the payload to the Integration Server audit logger. For more information about logging, see the webMethods Audit Logging Guide.
Note:  
If you expect a high volume of events in your system, it is recommended that you select the Audit Log destination for this action.
EDA
Mediator can use EDA to log the payloads to a database.
Prerequisite: You must configure the EDA destination (in the Integration Server Administrator, go to Solutions > Mediator > Administration > EDA). For the procedure, see Administering webMethods Mediator.
Copyright © 2005-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback