Hi all! We have been thinking that it would be a great improvement to add contextual information to the Flink logs:
- Container / yarn / host info to JM/TM logs - Job info (job id/ jobname) to task logs I this should be similar to how the metric scopes are set up and should be able to provide the same information for logs. Ideally it would be user configurable. We are wondering what would be the best way to do this, and would like to ask for opinions or past experiences. Our natural first thought was setting NDC / MDC in the different threads but it seems to be a somewhat fragile mechanism as it can be easily "cleared" or deleted by the user. What do you think? Gyula