[
https://issues.apache.org/jira/browse/FLINK-28125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-28125:
-----------------------------------
Labels: pull-request-available starter (was: starter)
> Promote leadership changing logs to INFO level
> ----------------------------------------------
>
> Key: FLINK-28125
> URL: https://issues.apache.org/jira/browse/FLINK-28125
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Coordination
> Reporter: Xintong Song
> Assignee: Weijie Guo
> Priority: Minor
> Labels: pull-request-available, starter
>
> Currently, {{DefaultLeaderElectionService}} logs leadership changing events
> in DEBUG level, expecting the contender to log the changes in INFO level.
> This is fragile because there're many different {{LeaderContender}}
> implementations and not all of them print the logs properly. E.g.,
> {{JobMasterServiceLeadershipRunner}} logs the leadership changes in TRACE
> level.
> I'd suggest to revisit the logging of leadership changing, printing the INFO
> logs from {{LeaderElectionService}}. That probably also means removing the
> contender side logs to avoid redundancy.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)