Transaction report via log file
Transaction report via log file provides a detailed information about each transaction. To access transaction logs, follow the context path relative to the server startup. Transactions are captured in a separate log file transaction_log.log
by default. The file path is relative to the server start context. The default path for different servers is given below:
For Jboss Turnkey:
"<AEM_Forms_Installation>/jboss/bin/transaction_log.log"
For IBM Websphere:
"<IBM_WAS_Profile_path>/transaction_log.log"
For Oracle Weblogic:
"<Weblogic_Domain_path>/transaction_log.log"
For Jboss Cluster:
"<Jboss home>/transaction_log.log"
Example of a sample transaction record:[2024-02-28 06:11:27] [INFO] TransactionRecord{service='GeneratePDFService', operation='HtmlFileToPDF', internalService='GeneratePDFService', internalOperation='HtmlFileToPDF', transactionOperationType='CONVERT', transactionCount=1, elapsedTime=1906, transactionDate=Wed Feb 28 06:11:25 UTC 2024}
Transaction Record
The transaction log structure defines how each transaction is recorded through its various parameters, such as service, operation, transaction type, and others. Each is given in detail below. The structure of the transaction record is as follows:
TransactionRecord
{
service='...',
operation='...',
internalService='...',
internalOperation='...',
transactionOperationType='...',
transactionCount=...,
elapsedTime=...,
transactionDate=...
}
- service: Name of the service.
- operation: Operation name.
- internalService: Name of the callee if there is an internal call, otherwise same as the service name.
- internalOperation: Name of the callee in there is an internal call, otherwise same as the operation name.
- transactionOperationType: Type of transaction (Submit, Render, Convert).
- transactionCount: Total count of transaction.
- elapsedTime: Time between the call initiation and response received.
- transactionDate: Timestamp indicating when the service was invoked.
Sample transaction log:
[2024-02-14 14:23:25] [INFO] TransactionRecord
{
service='BarcodedFormsService',
operation='decode',
internalService='BarcodedFormsService',
internalOperation='decode',
transactionOperationType='CONVERT',
transactionCount=1,
elapsedTime=47405,
transactionDate=Wed Feb 14 14:22:37 UTC 2024
}
Transaction recording frequency
The frequency of recording transactions is determined by the update operations on the server for each form that is successfully submitted, rendered, or converted.
-
In dashboard, the transaction count is updated periodically, default is set to 1 minute. You can update the frequency by setting the system property at
"com.adobe.idp.dsc.transaction.recordFrequency"
. For example, On AEM Forms for JEE on JBoss®, add-Dcom.adobe.idp.dsc.transaction.recordFrequency=5
inJAVA_OPTS
to set the update frequency to 5 minutes. -
In transaction logs, the update for each transaction occurs instantly when a form is successfully submitted, rendered, or converted.