From 52eb85a9939e2b93c90601fcb50cbf62e1a4ac1d Mon Sep 17 00:00:00 2001 From: Patrick Doyle <810052+prdoyle@users.noreply.github.com> Date: Thu, 18 Dec 2025 11:06:08 -0500 Subject: [PATCH] Suppress Tika entitlement warnings from AWT (#139711) --- distribution/src/config/log4j2.properties | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/distribution/src/config/log4j2.properties b/distribution/src/config/log4j2.properties index 7234a0d4ceb2f..4134a2fbebc41 100644 --- a/distribution/src/config/log4j2.properties +++ b/distribution/src/config/log4j2.properties @@ -152,3 +152,7 @@ logger.esql_querylog_rolling.name = esql.querylog logger.esql_querylog_rolling.level = trace logger.esql_querylog_rolling.appenderRef.esql_querylog_rolling.ref = esql_querylog_rolling logger.esql_querylog_rolling.additivity = false + +# Suppress spurious entitlement warnings for exceptions that are caught +logger.entitlements_awt.name = org.elasticsearch.entitlement.runtime.policy.PolicyManager.(server).java.desktop.java.awt +logger.entitlements_awt.level = error