[ https://issues.apache.org/jira/browse/SPARK-8981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14623700#comment-14623700 ]
Paweł Kopiczko commented on SPARK-8981: --------------------------------------- slf4j supports MDC as well: http://www.slf4j.org/api/org/slf4j/MDC.html I've analysed how {{Logging}} trait is implemented. If I'm correct every executor process calls {{initializeLogging}} method because of transient {{log_}} field. It looks to me that right now it's impossible to pass there {{SparkContext}} instance (or any other value) without breaking the API. Do you agree? Have you any idea how to bypass that? Int terms of this comment: ??This will likely be changed or removed in future releases.??, are you considering any change right now? > Set applicationId and appName in log4j MDC > ------------------------------------------ > > Key: SPARK-8981 > URL: https://issues.apache.org/jira/browse/SPARK-8981 > Project: Spark > Issue Type: New Feature > Components: Spark Core > Reporter: Paweł Kopiczko > Priority: Minor > > It would be nice to have, because it's good to have logs in one file when > using log agents (like logentires) in standalone mode. Also allows > configuring rolling file appender without a mess when multiple applications > are running. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org