[ https://issues.apache.org/jira/browse/FLINK-16620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17064631#comment-17064631 ]
Roman Khachatryan commented on FLINK-16620: ------------------------------------------- I think this way we'll have in too many places, but probably it's fine. And something shorter would be better IMO: "$taskName (4/5, attempt 1)". Should we increment attempt number by 1 too? > Add attempt information in logging > ---------------------------------- > > Key: FLINK-16620 > URL: https://issues.apache.org/jira/browse/FLINK-16620 > Project: Flink > Issue Type: Improvement > Components: Runtime / Task > Affects Versions: 1.10.0 > Reporter: Jiayi Liao > Assignee: Jiayi Liao > Priority: Minor > > Currently logging in places such as {{Task}} and {{StreamTask}} , is using > {{taskNameWithSubtasks}} in {{TaskInfo}} to represent an execution. I think > it'll be more user-friendly if we can add attempt information into the > logging. > The format can be consitent with logging information in {{Execution}} : > {code:java} > MySink (3/10) - execution #0 > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)