You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by wa...@apache.org on 2021/08/02 14:18:03 UTC
[flink] branch master updated: [hotfix] Remove the unnecessary
suppressing logger for kubernetes informer
This is an automated email from the ASF dual-hosted git repository.
wangyang0918 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 4b517a9 [hotfix] Remove the unnecessary suppressing logger for kubernetes informer
4b517a9 is described below
commit 4b517a90331915f90634e282d3013c2f272038ab
Author: Yi Tang <ss...@gmail.com>
AuthorDate: Sun Aug 1 20:24:31 2021 +0800
[hotfix] Remove the unnecessary suppressing logger for kubernetes informer
In FLINK-22802, the fabric8 Kubernetes client has been upgraded to 5.5.0, the verbose log level has been changed to Debug, so we don't need to suppress it manually.
This closes #16661.
---
flink-dist/src/main/flink-bin/conf/log4j-console.properties | 4 ----
flink-dist/src/main/flink-bin/conf/log4j-session.properties | 4 ----
flink-dist/src/main/flink-bin/conf/log4j.properties | 4 ----
flink-dist/src/main/flink-bin/conf/logback-console.xml | 3 ---
flink-dist/src/main/flink-bin/conf/logback-session.xml | 6 ------
flink-dist/src/main/flink-bin/conf/logback.xml | 6 ------
6 files changed, 27 deletions(-)
diff --git a/flink-dist/src/main/flink-bin/conf/log4j-console.properties b/flink-dist/src/main/flink-bin/conf/log4j-console.properties
index ca4484c..51353e4 100644
--- a/flink-dist/src/main/flink-bin/conf/log4j-console.properties
+++ b/flink-dist/src/main/flink-bin/conf/log4j-console.properties
@@ -66,7 +66,3 @@ appender.rolling.strategy.max = ${env:MAX_LOG_FILE_NUMBER:-10}
# Suppress the irrelevant (wrong) warnings from the Netty channel handler
logger.netty.name = org.jboss.netty.channel.DefaultChannelPipeline
logger.netty.level = OFF
-
-# Suppress the verbose log in kubernetes informer
-logger.kube.name = io.fabric8.kubernetes.client.informers.cache.ReflectorWatcher
-logger.kube.level = ERROR
diff --git a/flink-dist/src/main/flink-bin/conf/log4j-session.properties b/flink-dist/src/main/flink-bin/conf/log4j-session.properties
index d7e0eef..136a4a6 100644
--- a/flink-dist/src/main/flink-bin/conf/log4j-session.properties
+++ b/flink-dist/src/main/flink-bin/conf/log4j-session.properties
@@ -40,7 +40,3 @@ logger.runtimeutils.name= org.apache.flink.runtime.util.ZooKeeperUtils
logger.runtimeutils.level = WARN
logger.runtimeleader.name = org.apache.flink.runtime.leaderretrieval.ZooKeeperLeaderRetrievalDriver
logger.runtimeleader.level = WARN
-
-# Suppress the verbose log in kubernetes informer
-logger.kube.name = io.fabric8.kubernetes.client.informers.cache.ReflectorWatcher
-logger.kube.level = ERROR
diff --git a/flink-dist/src/main/flink-bin/conf/log4j.properties b/flink-dist/src/main/flink-bin/conf/log4j.properties
index a6389df..477b00b 100644
--- a/flink-dist/src/main/flink-bin/conf/log4j.properties
+++ b/flink-dist/src/main/flink-bin/conf/log4j.properties
@@ -59,7 +59,3 @@ appender.main.strategy.max = ${env:MAX_LOG_FILE_NUMBER:-10}
# Suppress the irrelevant (wrong) warnings from the Netty channel handler
logger.netty.name = org.jboss.netty.channel.DefaultChannelPipeline
logger.netty.level = OFF
-
-# Suppress the verbose log in kubernetes informer
-logger.kube.name = io.fabric8.kubernetes.client.informers.cache.ReflectorWatcher
-logger.kube.level = ERROR
diff --git a/flink-dist/src/main/flink-bin/conf/logback-console.xml b/flink-dist/src/main/flink-bin/conf/logback-console.xml
index 598a932..d6cc276 100644
--- a/flink-dist/src/main/flink-bin/conf/logback-console.xml
+++ b/flink-dist/src/main/flink-bin/conf/logback-console.xml
@@ -61,7 +61,4 @@
<!-- Suppress the irrelevant (wrong) warnings from the Netty channel handler -->
<logger name="org.jboss.netty.channel.DefaultChannelPipeline" level="ERROR"/>
-
- <!-- Suppress the verbose log in kubernetes informer -->
- <logger name="io.fabric8.kubernetes.client.informers.cache.ReflectorWatcher" level="ERROR"/>
</configuration>
diff --git a/flink-dist/src/main/flink-bin/conf/logback-session.xml b/flink-dist/src/main/flink-bin/conf/logback-session.xml
index b6298b6..636b78a 100644
--- a/flink-dist/src/main/flink-bin/conf/logback-session.xml
+++ b/flink-dist/src/main/flink-bin/conf/logback-session.xml
@@ -36,10 +36,4 @@
<appender-ref ref="file"/>
<appender-ref ref="console"/>
</root>
-
- <!-- Suppress the verbose log in kubernetes informer -->
- <logger name="io.fabric8.kubernetes.client.informers.cache.ReflectorWatcher" level="ERROR">
- <appender-ref ref="file"/>
- <appender-ref ref="console"/>
- </logger>
</configuration>
diff --git a/flink-dist/src/main/flink-bin/conf/logback.xml b/flink-dist/src/main/flink-bin/conf/logback.xml
index 49dfe4d..f3c4331 100644
--- a/flink-dist/src/main/flink-bin/conf/logback.xml
+++ b/flink-dist/src/main/flink-bin/conf/logback.xml
@@ -55,10 +55,4 @@
<logger name="org.jboss.netty.channel.DefaultChannelPipeline" level="ERROR">
<appender-ref ref="file"/>
</logger>
-
- <!-- Suppress the verbose log in kubernetes informer -->
- <logger name="io.fabric8.kubernetes.client.informers.cache.ReflectorWatcher" level="ERROR">
- <appender-ref ref="file"/>
- </logger>
-
</configuration>