Execute the following in the Jennifer management screen.
- Extension & Notice > Adapter and Plugin
- Click the Add button.
- Select the 'TRANSACTION' type.
- Enter the 'xviewlog' ID.
- Enter the adapter path directly or upload the file.
- Enter the class 'com.aries.xviewlog.LogAdapter'.
Adapter options are shown in the table below.
Key | Default Value |
---|---|
pattern | [%startTime, %endTime, %collectTime] Domain=%domainName(%domainId), Instance=%instanceName(%instanceId), TXID=%txid, Client IP=%clientIp, Client ID=%clientId, User ID=%userId, Response Time=%responseTime, Front-end Time=%frontendTime, Network Time=%networkTime, SQL Time=%sqlTime, Fetch Time=%fetchTime, CPU Time=%cpuTime, External-call Time=%externalcallTime, ERROR=%error, Application=%application |
date_format | HH:mm:ss |
full_path | ../logs/xviewlog.%d{yyyy-MM-dd_HH}.log |
rolling_mode | true |
If there is no option, the default value of the table is applied. Here's how to add an option:
Different versions of the server support different adapter versions.
Adapter version | Jennifer server version |
---|---|
1.0.0 | Greater than or equal to version 5.2.3 |
1.1.0 | Greater than or equal to version 5.3.3.7 |