This is an automated email from the ASF dual-hosted git repository.
dimas pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git
The following commit(s) were added to refs/heads/main by this push:
new 50090dce9 Replace deprecated Quarkus log configs (#3799)
50090dce9 is described below
commit 50090dce916d42fe6e1cd3a7043705e46d985a6c
Author: Nándor Kollár <[email protected]>
AuthorDate: Wed Feb 18 01:35:02 2026 +0100
Replace deprecated Quarkus log configs (#3799)
---
client/python/docker-compose.yml | 2 +-
helm/polaris/templates/configmap.yaml | 8 ++++----
helm/polaris/tests/configmap_test.yaml | 12 ++++++------
plugins/spark/v3.5/regtests/docker-compose.yml | 2 +-
regtests/docker-compose.yml | 2 +-
.../defaults/src/main/resources/application-test.properties | 2 +-
runtime/defaults/src/main/resources/application.properties | 4 ++--
7 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/client/python/docker-compose.yml b/client/python/docker-compose.yml
index 4e1035dd8..6c29b864c 100644
--- a/client/python/docker-compose.yml
+++ b/client/python/docker-compose.yml
@@ -29,7 +29,7 @@ services:
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
POLARIS_BOOTSTRAP_CREDENTIALS: POLARIS,root,s3cr3t
polaris.realm-context.realms: POLARIS
- quarkus.log.file.enable: "false"
+ quarkus.log.file.enabled: "false"
quarkus.otel.sdk.disabled: "true"
polaris.features."DROP_WITH_PURGE_ENABLED": "true"
polaris.features."ALLOW_INSECURE_STORAGE_TYPES": "true"
diff --git a/helm/polaris/templates/configmap.yaml
b/helm/polaris/templates/configmap.yaml
index e51294d9c..c724e9594 100644
--- a/helm/polaris/templates/configmap.yaml
+++ b/helm/polaris/templates/configmap.yaml
@@ -136,7 +136,7 @@ data:
{{- /* Logging */ -}}
{{- $_ = set $map "quarkus.log.level" .Values.logging.level -}}
{{- if .Values.logging.console.enabled -}}
- {{- $_ = set $map "quarkus.log.console.enable" "true" -}}
+ {{- $_ = set $map "quarkus.log.console.enabled" "true" -}}
{{- $_ = set $map "quarkus.log.console.level"
.Values.logging.console.threshold -}}
{{- if .Values.logging.console.json -}}
{{- $_ = set $map "quarkus.log.console.json.enabled" "true" -}}
@@ -144,10 +144,10 @@ data:
{{- $_ = set $map "quarkus.log.console.format"
.Values.logging.console.format -}}
{{- end -}}
{{- else -}}
- {{- $_ = set $map "quarkus.log.console.enable" "false" -}}
+ {{- $_ = set $map "quarkus.log.console.enabled" "false" -}}
{{- end -}}
{{- if .Values.logging.file.enabled -}}
- {{- $_ = set $map "quarkus.log.file.enable" "true" -}}
+ {{- $_ = set $map "quarkus.log.file.enabled" "true" -}}
{{- $_ = set $map "quarkus.log.file.level" .Values.logging.file.threshold
-}}
{{- $_ = set $map "quarkus.log.file.path" (printf "%s/%s"
.Values.logging.file.logsDir .Values.logging.file.fileName) -}}
{{- $_ = set $map "quarkus.log.file.rotation.max-file-size" (include
"polaris.quantity" .Values.logging.file.rotation.maxFileSize) -}}
@@ -161,7 +161,7 @@ data:
{{- $_ = set $map "quarkus.log.file.format" .Values.logging.file.format -}}
{{- end -}}
{{- else -}}
- {{- $_ = set $map "quarkus.log.file.enable" "false" -}}
+ {{- $_ = set $map "quarkus.log.file.enabled" "false" -}}
{{- end -}}
{{- $categories := dict -}}
{{- list .Values.logging.categories "" $categories | include
"polaris.mergeConfigTree" -}}
diff --git a/helm/polaris/tests/configmap_test.yaml
b/helm/polaris/tests/configmap_test.yaml
index 6c3e5b195..5aed33a80 100644
--- a/helm/polaris/tests/configmap_test.yaml
+++ b/helm/polaris/tests/configmap_test.yaml
@@ -249,7 +249,7 @@ tests:
logging: { level: DEBUG, console: { enabled: true, threshold: INFO,
format: custom } }
asserts:
- matchRegex: { path: 'data["application.properties"]', pattern:
"quarkus.log.level=DEBUG" }
- - matchRegex: { path: 'data["application.properties"]', pattern:
"quarkus.log.console.enable=true" }
+ - matchRegex: { path: 'data["application.properties"]', pattern:
"quarkus.log.console.enabled=true" }
- matchRegex: { path: 'data["application.properties"]', pattern:
"quarkus.log.console.level=INFO" }
- matchRegex: { path: 'data["application.properties"]', pattern:
"quarkus.log.console.format=custom" }
@@ -257,7 +257,7 @@ tests:
set:
logging: { file: { enabled: true, threshold: DEBUG, format: custom,
logsDir: /mnt/logs, fileName: custom.log, rotation: { maxFileSize: 50Mi,
maxBackupIndex: 2, fileSuffix: .yyyy-MM-dd } } }
asserts:
- - matchRegex: { path: 'data["application.properties"]', pattern:
"quarkus.log.file.enable=true" }
+ - matchRegex: { path: 'data["application.properties"]', pattern:
"quarkus.log.file.enabled=true" }
- matchRegex: { path: 'data["application.properties"]', pattern:
"quarkus.log.file.level=DEBUG" }
- matchRegex: { path: 'data["application.properties"]', pattern:
"quarkus.log.file.path=/mnt/logs/custom.log" }
- matchRegex: { path: 'data["application.properties"]', pattern:
"quarkus.log.file.rotation.max-file-size=52428800" }
@@ -268,15 +268,15 @@ tests:
set:
logging: { file: { enabled: false }, console: { enabled: false } }
asserts:
- - matchRegex: { path: 'data["application.properties"]', pattern:
"quarkus.log.file.enable=false" }
- - matchRegex: { path: 'data["application.properties"]', pattern:
"quarkus.log.console.enable=false" }
+ - matchRegex: { path: 'data["application.properties"]', pattern:
"quarkus.log.file.enabled=false" }
+ - matchRegex: { path: 'data["application.properties"]', pattern:
"quarkus.log.console.enabled=false" }
- it: should enable JSON logging
set:
logging: { file: { enabled: true, json: true }, console: { enabled:
true, json: true } }
asserts:
- - matchRegex: { path: 'data["application.properties"]', pattern:
"quarkus.log.file.enable=true" }
- - matchRegex: { path: 'data["application.properties"]', pattern:
"quarkus.log.console.enable=true" }
+ - matchRegex: { path: 'data["application.properties"]', pattern:
"quarkus.log.file.enabled=true" }
+ - matchRegex: { path: 'data["application.properties"]', pattern:
"quarkus.log.console.enabled=true" }
- matchRegex: { path: 'data["application.properties"]', pattern:
"quarkus.log.file.json.enabled=true" }
- matchRegex: { path: 'data["application.properties"]', pattern:
"quarkus.log.console.json.enabled=true" }
diff --git a/plugins/spark/v3.5/regtests/docker-compose.yml
b/plugins/spark/v3.5/regtests/docker-compose.yml
index 90019a98b..5c9c2ea36 100755
--- a/plugins/spark/v3.5/regtests/docker-compose.yml
+++ b/plugins/spark/v3.5/regtests/docker-compose.yml
@@ -26,7 +26,7 @@ services:
environment:
AWS_REGION: us-west-2
POLARIS_BOOTSTRAP_CREDENTIALS: POLARIS,root,s3cr3t
- quarkus.log.file.enable: "false"
+ quarkus.log.file.enabled: "false"
quarkus.otel.sdk.disabled: "true"
polaris.features."ALLOW_INSECURE_STORAGE_TYPES": "true"
polaris.features."SUPPORTED_CATALOG_STORAGE_TYPES":
"[\"FILE\",\"S3\",\"GCS\",\"AZURE\"]"
diff --git a/regtests/docker-compose.yml b/regtests/docker-compose.yml
index e7afd0513..bef82db63 100644
--- a/regtests/docker-compose.yml
+++ b/regtests/docker-compose.yml
@@ -32,7 +32,7 @@ services:
AZURE_CLIENT_ID: $AZURE_CLIENT_ID
AZURE_CLIENT_SECRET: $AZURE_CLIENT_SECRET
POLARIS_BOOTSTRAP_CREDENTIALS: POLARIS,root,s3cr3t
- quarkus.log.file.enable: "false"
+ quarkus.log.file.enabled: "false"
quarkus.otel.sdk.disabled: "true"
polaris.features."DROP_WITH_PURGE_ENABLED": "true"
polaris.features."ALLOW_INSECURE_STORAGE_TYPES": "true"
diff --git a/runtime/defaults/src/main/resources/application-test.properties
b/runtime/defaults/src/main/resources/application-test.properties
index abd7d8e7d..4f31702e2 100644
--- a/runtime/defaults/src/main/resources/application-test.properties
+++ b/runtime/defaults/src/main/resources/application-test.properties
@@ -25,7 +25,7 @@ quarkus.keycloak.devservices.enabled=false
quarkus.mongodb.devservices.enabled=false
quarkus.log.level=ERROR
-quarkus.log.file.enable=false
+quarkus.log.file.enabled=false
quarkus.console.color=true
# Useful loggers for debugging purposes.
diff --git a/runtime/defaults/src/main/resources/application.properties
b/runtime/defaults/src/main/resources/application.properties
index e2ad3a3ae..9c0a1f9e0 100644
--- a/runtime/defaults/src/main/resources/application.properties
+++ b/runtime/defaults/src/main/resources/application.properties
@@ -68,11 +68,11 @@ quarkus.http.port=8181
quarkus.http.test-port=0
quarkus.log.level=INFO
-quarkus.log.console.enable=true
+quarkus.log.console.enabled=true
quarkus.log.console.level=ALL
quarkus.log.console.json.enabled=false
quarkus.log.console.format=%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c{3.}]
[%X{requestId},%X{realmId}] [%X{traceId},%X{parentId},%X{spanId},%X{sampled}]
(%t) %s%e%n
-quarkus.log.file.enable=true
+quarkus.log.file.enabled=true
quarkus.log.file.level=ALL
quarkus.log.file.json.enabled=false
quarkus.log.file.format=%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c{3.}]
[%X{requestId},%X{realmId}] [%X{traceId},%X{parentId},%X{spanId},%X{sampled}]
(%t) %s%e%n