Skip to content

Adapters that write to a file when a JENNIFER transaction occurs

Notifications You must be signed in to change notification settings

jennifersoft/jennifer-view-adapter-xviewlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Getting started

Execute the following in the Jennifer management screen.

  1. Extension & Notice > Adapter and Plugin
  2. Click the Add button.
  3. Select the 'TRANSACTION' type.
  4. Enter the 'xviewlog' ID.
  5. Enter the adapter path directly or upload the file.
  6. Enter the class 'com.aries.xviewlog.LogAdapter'.

How to use Options

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:

custom_key

custom_key2

Supported version

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

About

Adapters that write to a file when a JENNIFER transaction occurs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages