Event Logging (eventLogging)

Logs a record of events, such as the JDBC requests and servlet requests, and their durations.

NameTypeDefaultDescription

eventTypes

string

all

A list of comma-separated event types that needs to be logged. Use all, to log all event types.

includeContextInfo

boolean

true

Indicates if the context information details are included in the log output.

logMode

  • entry

  • entryExit

  • exit

exit

Controls whether the event logging occurs at the entry to events, at the exit from events, or both.
entry
log at entry
entryExit
log at entry and exit
exit
log at exit

minDuration

A period of time with millisecond precision

1s

Exit entries will be logged for events longer than minDuration. Specify a positive integer followed by a unit of time, which can be hours (h), minutes (m), seconds (s), or milliseconds (ms). For example, specify 500 milliseconds as 500ms. You can include multiple values in a single entry. For example, 1s500ms is equivalent to 1.5 seconds.

sampleRate

int
Min: 1

1

To sample one out of every n requests, set sampleRate to n. To sample all requests, set sampleRate to 1.