eventLogging - Event Logging (eventLogging)

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

NameTypeDefaultDescription
logMode
  • entry
  • exit
  • entryExit
exitControls whether the event logging occurs at the entry to events, at the exit from events, or both.
entry
log at entry
exit
log at exit
entryExit
log at entry and exit
sampleRateint
Min: 1
1To sample one out of every n requests, set sampleRate to n. To sample all requests, set sampleRate to 1.
minDurationA period of time with millisecond precision1sExit 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.
eventTypesstringallA list of comma-separated event types that needs to be logged. Use all, to log all event types.
includeContextInfobooleantrueIndicates if the context information details are included in the log output.