Skip to content

Commit

Permalink
feat: enable access logs by env var
Browse files Browse the repository at this point in the history
  • Loading branch information
NithinKuruba committed Oct 31, 2024
1 parent 884e8ff commit 3b8de46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/keycloak/configuration/24/quarkus.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
quarkus.http.access-log.enabled=true
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=true
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
Expand Down

0 comments on commit 3b8de46

Please sign in to comment.