You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by mx...@apache.org on 2023/12/14 13:27:57 UTC
(flink-kubernetes-operator) branch main updated: [FLINK-33770] Silence Configuration logging for INFO messages (#734)
This is an automated email from the ASF dual-hosted git repository.
mxm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-kubernetes-operator.git
The following commit(s) were added to refs/heads/main by this push:
new 80d9437b [FLINK-33770] Silence Configuration logging for INFO messages (#734)
80d9437b is described below
commit 80d9437bc7d3fcf61a75a60370ee0b12c5aeac91
Author: Maximilian Michels <mx...@apache.org>
AuthorDate: Thu Dec 14 14:27:52 2023 +0100
[FLINK-33770] Silence Configuration logging for INFO messages (#734)
In #725 we coverted the deprecated keys fallback keys and added test
coverage. This additional change silences logs for fallback keys by setting the
configuration logging to WARN instead of the default INFO.
This avoids spamming the log with unneccessary messages on every reconciliation
loop, while still reporting warnings and errors.
---
helm/flink-kubernetes-operator/conf/log4j-operator.properties | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/helm/flink-kubernetes-operator/conf/log4j-operator.properties b/helm/flink-kubernetes-operator/conf/log4j-operator.properties
index f6ccff72..14ac8f2b 100644
--- a/helm/flink-kubernetes-operator/conf/log4j-operator.properties
+++ b/helm/flink-kubernetes-operator/conf/log4j-operator.properties
@@ -28,3 +28,7 @@ appender.console.layout.pattern = %style{%d}{yellow} %style{%-30c{1.}}{cyan} %hi
# Do not log config loading
logger.conf.name = org.apache.flink.configuration.GlobalConfiguration
logger.conf.level = WARN
+
+# Avoid logging fallback key INFO messages
+logger.conf.name = org.apache.flink.configuration.Configuration
+logger.conf.level = WARN