zentol commented on code in PR #24292: URL: https://github.com/apache/flink/pull/24292#discussion_r1485884759
########## 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: Can we make the key configurable? Users may have different requirements; like wanting to follow ECS when using the json layout where the appropriate key would be `flink.job.id` -- 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