Flink版本升级后,web中看不到taskmanager日志信息UI

After the Flink version is upgraded, the taskmanager log information cannot be seen in the web UI

升级Flink版本后,web端看不到taskmanager日志信息UI。在stdout可以看到代码本身的log,但是看不到Spring和Flink本身的log

你升级到什么版本了,Flink怎么样运行(即Yarn、Kubernetes、standalone等)?

对于某些环境中的某些版本的 Flink,日志在网络中不可用 UI 因为它们是在其他地方聚合的。例如,如果你在 Kubernetes 上使用某些版本的 Flink 运行,你将希望使用 kubectl logs 之类的东西来访问日志。

更新

Flink 1.11 从 log4j1 切换到 log4j2。有关详细信息,请参阅 the release notes for details. Also, the logging properties file log4j-yarn-session.properties was renamed to log4j-session.properties and yarn-session.sh was updated to use the new file. Again, see the release notes