igreenfield commented on a change in pull request #26624:
URL: https://github.com/apache/spark/pull/26624#discussion_r419869698



##########
File path: docs/configuration.md
##########
@@ -2670,6 +2670,9 @@ Spark uses [log4j](http://logging.apache.org/log4j/) for 
logging. You can config
 `log4j.properties` file in the `conf` directory. One way to start is to copy 
the existing
 `log4j.properties.template` located there.
 
+By default, Spark adds to the MDC 3 records: `appId`, `appName` and `taskName` 
you can add that to your patternLayout `%X{appId}` in order to print in the logs

Review comment:
       Maybe in both places?




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to