Skip to content

Commit

Permalink
feat: enable/disable access logs (#398)
Browse files Browse the repository at this point in the history
* feat: enable access logs

* feat: enable access logs by env var

* feat: rollback image tag change

* feat: rollback gh action
  • Loading branch information
NithinKuruba authored Oct 31, 2024
1 parent a56bf8b commit 094ddb9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/keycloak/configuration/24/quarkus.properties
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 094ddb9

Please sign in to comment.