rkhachatryan commented on code in PR #24292: URL: https://github.com/apache/flink/pull/24292#discussion_r1486776195
########## docs/content.zh/docs/deployment/advanced/logging.md: ########## @@ -40,6 +40,21 @@ Flink 中的日志记录是使用 [SLF4J](http://www.slf4j.org/) 日志接口实 <a name="configuring-log4j-2"></a> +### Structured logging + +Flink adds the following fields to [MDC](https://www.slf4j.org/api/org/slf4j/MDC.html) of most of the relevant log messages (experimental feature): +- Job ID + - key: `flink-job-id` Review Comment: My reasoning was that users configure the mappings anyways, so making it configurable isn't strictly necessary. OTH, adding more configuration to Flink makes it more complex; so chose to have it static. I can add the configuration though if you think it's necessary. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org