[
https://issues.apache.org/jira/browse/FLINK-41480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yuepeng Pan reassigned FLINK-41480:
-----------------------------------
Assignee: Arvind Kandpal
> FailureEnricherUtils logs "[%s]" instead of the duplicate output key
> --------------------------------------------------------------------
>
> Key: FLINK-41480
> URL: https://issues.apache.org/jira/browse/FLINK-41480
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Coordination
> Reporter: Arvind Kandpal
> Assignee: Arvind Kandpal
> Priority: Minor
> Labels: pull-request-available
>
> {{FailureEnricherUtils#filterInvalidEnrichers}} logs a warning when several
> enrichers register the same output key:
> {code:java}
> LOG.warn("Following enrichers have registered duplicate output key [%s] and
> will be ignored: {}.", <enricher class names>);
> {code}
> SLF4J only replaces {{{}}} placeholders, and the key is not passed as an
> argument. The log prints {{[%s]}} literally, so users cannot see which output
> key is duplicated.
> *Fix:* use {{{}}} and pass {{entry.getKey()}} as the first argument.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)