[ https://issues.apache.org/jira/browse/SPARK-8981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14623707#comment-14623707 ]
Paweł Kopiczko commented on SPARK-8981: --------------------------------------- ??MDC has static methods?? Yes, but I'm not sure how to invoke these in executor thread. Any idea? ??Are you proposing to change the default log message or just make these values available??? Available only. I think it may be needed especially by standalone mode users. YARN users don't need that functionality, because CM stores logs in HDFS by applicationId. I'm not familiar with Mesos, but probably it has ability to store separated logs for each container. I believe the overhead is minimal since it's only two String values in a static map. > 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