You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polaris.apache.org by ad...@apache.org on 2026/05/28 12:16:19 UTC

(polaris) branch main updated: nit: Silence some noisy ranger loggers during integration tests (#4559)

This is an automated email from the ASF dual-hosted git repository.

adutra 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 5e888e82fb nit: Silence some noisy ranger loggers during integration tests (#4559)
5e888e82fb is described below

commit 5e888e82fbdadf919eeca1216098cf26f2b3c26a
Author: Alexandre Dutra <ad...@apache.org>
AuthorDate: Thu May 28 14:16:13 2026 +0200

    nit: Silence some noisy ranger loggers during integration tests (#4559)
    
    Incidentally, it seems that newer Quarkus versions actually allow logger levels to be configured in an application-it.properties.
---
 runtime/defaults/src/main/resources/application-it.properties | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/runtime/defaults/src/main/resources/application-it.properties b/runtime/defaults/src/main/resources/application-it.properties
index 7c3c70f3d2..108a9585b9 100644
--- a/runtime/defaults/src/main/resources/application-it.properties
+++ b/runtime/defaults/src/main/resources/application-it.properties
@@ -20,13 +20,6 @@
 # Configuration common to ALL integration tests (executed with "it" profile – Gradle "intTest" tasks).
 # Note: Quarkus integration tests cannot use QuarkusTestProfile.
 
-# Note about logging during integration tests:
-# - Logging for test code is configured in the `application-test.properties` file (!!).
-#   By default, it is set to `ERROR` level.
-# - Logging for application code is configured in the main `application.properties` file.
-#   By default, it is set to `INFO` level.
-# Configuring logging levels or appenders in this file IS INEFFECTIVE!
-
 quarkus.http.limits.max-body-size=1000000
 quarkus.http.port=0
 
@@ -56,3 +49,5 @@ polaris.realm-context.realms=POLARIS,OTHER
 polaris.storage.gcp.token=token
 polaris.storage.gcp.lifespan=PT1H
 
+# Silence verbose Ranger audit lifecycle logs
+quarkus.log.category."org.apache.ranger.audit.provider.AuditProviderFactory".level=WARN