From 094ddb95fd6c27848ca51fc9f07f118dd232383f Mon Sep 17 00:00:00 2001 From: Nithin Shekar Kuruba <81444731+NithinKuruba@users.noreply.github.com> Date: Thu, 31 Oct 2024 11:08:37 -0700 Subject: [PATCH] feat: enable/disable access logs (#398) * feat: enable access logs * feat: enable access logs by env var * feat: rollback image tag change * feat: rollback gh action --- docker/keycloak/configuration/24/quarkus.properties | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/keycloak/configuration/24/quarkus.properties b/docker/keycloak/configuration/24/quarkus.properties index 61b29461..51f9e1ff 100644 --- a/docker/keycloak/configuration/24/quarkus.properties +++ b/docker/keycloak/configuration/24/quarkus.properties @@ -1,3 +1,7 @@ +quarkus.http.access-log.enabled=${QUARKUS_HTTP_ACCESS_LOG_ENABLED:false} +quarkus.pattern.json={ "client":"%{REMOTE_HOST}", "method": "%{METHOD}", "request_url": %{REQUEST_URL}, "status":"%{RESPONSE_CODE}", "duration":"%{RESPONSE_TIME}", "bytes":"%{BYTES_SENT}" } +quarkus.http.access-log.pattern=${quarkus.pattern.json} +quarkus.http.record-request-start-time=${QUARKUS_HTTP_RECORD_REQUEST_START_TIME:false} quarkus.log.console.json.exception-output-type=formatted quarkus.log.console.json.key-overrides=timestamp=@timestamp quarkus.log.console.json.additional-field."@version".value=1