Update Log Level
ESS services support a subset of log levels supported by Quarkus:
FATALERRORWARNINFO(Default level)DEBUG
By default, ESS’ log level is configured to INFO level:
This outputs logs with severity level
INFOand higher (i.e., outputsINFO,WARN,ERRORandFATALlevels).This excludes logs with security level below
INFO(i.e., excludesDEBUG).
As part of your infrastructure-as-code deployment, you may wish to control log levels of the deployments using a customization.
For example, when debugging an issue you may temporarily enable DEBUG level logs to get more granular information on system behavior.
To change a service’s log level, you can create an overlay to update the QUARKUS_LOG_LEVEL environment variable.
ESS also supports changing the level of log messages using redaction. See Logging Redaction for details.
Example Debug Logging Customization File
You can use the following procedure to enable DEBUG level logging for pod-provisioning :
Go to your ESS installation directory:
cd ${HOME}/essModify the
kustomization.yaml(i.e., step 3 of the Applying Your Customizations procedure). Specifically, add the highlighted content to thekustomization.yamlfile under thepatcheskey:
Tip If patches list does not exist in kustomization.yaml , add the key patches as well.
Continue with the rest of the Applying Your Customizations procedure.
Tip Remember to reset the log level when you’re finished debugging.
Last updated