Ariba Supplier OnRamp 7.1 | webMethods Ariba Supplier OnRamp Documentation | webMethods Ariba Supplier OnRamp Installation and User’s Documentation | Using the Logging Facility | Using the Logging APIs
 
Using the Logging APIs
Ariba Supplier OnRamp performs logging when it receives requests, when it returns cXML responses, and when it encounters errors in your handler implementation, as described in Log Messages Created by Ariba Supplier OnRamp . If you want to log additional entries, use the public APIs of Ariba Supplier OnRamp.
The following table describes the logging services you can use to log messages. You use the same services regardless of whether you use Trading Networks.
Use this logging service …
To …
pub.ariba.supplier.log:logPunchOutSetupEvent
Log informational or error messages about PunchOutSetupRequest/SetupResponse messages.
You specify a log message string to write to the log entry. This service writes this message to the log entry, extracts the following fields from the PunchOutSetupRequest, and writes these fields to the log entry:
*payload ID
*buyer credential
*supplier credential
*sender credential
*Buyer Cookie
*BrowserFormPost URL
You can also log additional data fields if needed. This service also extracts the catalog start page URL from the PunchOutSetupResponse and writes it to the log entry.
pub.ariba.supplier.log:logOrderEvent
Logs informational or error messages about OrderRequest/OrderResponse messages.
You specify a log message string to write to the log entry. This service writes this message to the log entry, extracts the following fields from the OrderRequest, and writes these fields to the log entry:
*payload ID
*buyer credential
*supplier credential
*sender credential
*Order ID
You can also log additional data fields if needed.
pub.ariba.supplier.log:logEvent
Log informational or error messages.
This service is a general logging service you can use to log any message. This service has many fields you must manually set if you want them to appear in the log entry.
logMasterAgreementEvent
Log informational or error messages about MasterAgreementRequest/MasterAgreementResponse messages.
You specify a log message string to write to the log entry. This service writes this message to the log entry, extracts the following fields from the MasterAgreementRequest, and writes these fields to the log entry:
*payload ID
*buyer credential
*supplier credential
*sender credential
*AgreementID
You can also log additional data fields if needed.
logInvoiceDetailEvent
Log informational or error messages about InvoiceDetailRequest/InvoiceDetailResponse messages.
You specify a log message string to write to the log entry. This service writes this message to the log entry, extracts the following fields from the InvoiceDetailRequest, and writes these fields to the log entry:
*payload ID
*buyer credential
*supplier credential
*sender credential
*InvoiceID
You can also log additional data fields if needed.
For complete information about how to use these logging services, see pub.ariba.supplier.log.spec.