Update Log Level
ESS services support a subset of log levels supported by Quarkus:
- FATAL
- ERROR
- WARN
- INFO(Default level)
- DEBUG
By default, ESS’ log level is configured to INFO level:
- This outputs logs with severity level - INFOand higher (i.e., outputs- INFO,- WARN,- ERRORand- FATALlevels).
- This excludes logs with security level below - INFO(i.e., excludes- DEBUG).
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.
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}/ess
- Modify the - kustomization.yaml(i.e., step 3 of the Applying Your Customizations procedure). Specifically, add the highlighted content to the- kustomization.yamlfile under the- patcheskey:
# kustomization.yaml in your ESS installation directory
# ...  Preceding content omitted for brevity 
# ...
patches:
  - target:
      kind: Deployment
      name: ess-pod-provision
    patch: |-
      apiVersion: apps/v1
      kind: Deployment
      metadata:
        name: ess-pod-provision
      spec:
        template:
          spec:
            containers:
              - env:
                - name: QUARKUS_LOG_LEVEL
                  value: DEBUG
                name: ess-pod-provision- Continue with the rest of the Applying Your Customizations procedure. 
Last updated