Github user ejsarge-gr commented on the pull request:

    https://github.com/apache/spark/pull/4998#issuecomment-118378860
  
    Would we be able to document this better or re-examine it a little?
    
    The problem is that log4j 1.2.17 is shaded into the assembly jar. Thus, to 
override it we need to get our jars listed at the start of the classpath. 
However extraClassPath says that it *appends* to the classpath (instead of 
prepending).
    
    SPARK_CLASSPATH appears to be mostly 
[deprecated|http://mail-archives.us.apache.org/mod_mbox/spark-user/201503.mbox/%[email protected]%3E].
    
    Log4j2 support is essentially required if you want to send the logs to 
centralised logging via Flume.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to