Ngone51 edited a comment on pull request #28801: URL: https://github.com/apache/spark/pull/28801#issuecomment-643021975
> Hi, All. Sorry, but how can we disable this MDC feature and enforce to generate the same result like Spark 2.4.6? @dongjoon-hyun As for end-user, they will not see the MDC properties in the log if they use default log4j.peroperties (since MDC requires extra pattern configuration). So it's still the same compares to Spark 2.4.6. But internally, yes, Spark will always add at least one MDC property (taskName) to the MDC, even if nowhere else will actually use it. Do you think we should add a configuration to control it? ---------------------------------------------------------------- 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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
