Questo contenuto non è disponibile nella lingua selezionata.
Chapter 11. Monitoring Data Grid Logs
Set logging categories to different message levels to monitor, debug, and troubleshoot Data Grid clusters.
11.1. Configuring Data Grid Logging Copia collegamentoCollegamento copiato negli appunti!
Procedure
Specify logging configuration with
spec.loggingin your Infinispan CR and then apply the changes.Copy to Clipboard Copied! Toggle word wrap Toggle overflow NoteThe root logging category is
org.infinispanand isINFOby default.Retrieve logs from Data Grid nodes as required.
oc logs -f $POD_NAME
$ oc logs -f $POD_NAMECopy to Clipboard Copied! Toggle word wrap Toggle overflow
11.2. Log Levels Copia collegamentoCollegamento copiato negli appunti!
Log levels indicate the nature and severity of messages.
| Log level | Description |
|---|---|
| trace | Provides detailed information about running state of applications. This is the most verbose log level. |
| debug | Indicates the progress of individual requests or activities. |
| info | Indicates overall progress of applications, including lifecycle events. |
| warn | Indicates circumstances that can lead to error or degrade performance. |
| error | Indicates error conditions that might prevent operations or activities from being successful but do not prevent applications from running. |