From e9f2e9522c21908c15141c08da3217dda0fa508b Mon Sep 17 00:00:00 2001 From: Alex Yau Date: Tue, 17 Sep 2024 17:04:14 +1000 Subject: [PATCH] Enable debug logging in keycloak Sources: - https://www.keycloak.org/server/all-config#category-logging - https://www.keycloak.org/server/logging - Tested by adding the environment variable to the local docker-compose and saw the detailed logs. - Can successfully build the Dockerfile_keycloak image successfully --- Dockerfile_keycloak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile_keycloak b/Dockerfile_keycloak index ade7a46c2..f669a493e 100644 --- a/Dockerfile_keycloak +++ b/Dockerfile_keycloak @@ -1,7 +1,7 @@ FROM quay.io/keycloak/keycloak:24.0.0 ENV KC_TRANSACTION_XA_ENABLED 'false' - +ENV KC_LOG_LEVEL DEBUG COPY keycloak/realm/realm-export.json /opt/keycloak/data/import/realm-export.json COPY keycloak/themes /opt/keycloak/themes