Logs a record of events, such as the JDBC requests and servlet requests, and their durations.
Name | Type | Default | Description |
---|---|---|---|
logMode |
| exit | Controls 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 |
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. |
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. |
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. |