Skip to content

Commit

Permalink
Fix #1498: enable access/request log by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tatu-at-datastax committed Oct 7, 2024
1 parent 3f70a10 commit 8ff8bf3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
9 changes: 5 additions & 4 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ quarkus:

# HTTP settings
http:
# access log format, must be explicitly enabled
access-log:
enabled: true
pattern: "%h %l %t \"%r\" %s %b"

# every /v1 path is authenticated by default
# adapt if changing the authentication mechanism
auth:
Expand All @@ -87,10 +92,6 @@ quarkus:
paths: /v1/*
policy: authenticated

# access log format, must be explicitly enabled
access-log:
pattern: "%h %l %t \"%r\" %s %b"

limits:
# Let's limit low-level maximum HTTP request size to 20 megs: stricter
# limit (4 meg per document) is applied at the JSON API level.
Expand Down
5 changes: 4 additions & 1 deletion src/test/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ stargate:
# change test port from 8081 (used by other SG services)
quarkus:
http:
test-port: 9080
# access log format, disable for tests to reduce noise
access-log:
enabled: false
test-port: 9080

0 comments on commit 8ff8bf3

Please sign in to comment.