You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Vijay (JIRA)" <ji...@apache.org> on 2018/08/17 02:38:00 UTC

[jira] [Commented] (SPARK-6305) Add support for log4j 2.x to Spark

    [ https://issues.apache.org/jira/browse/SPARK-6305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16583290#comment-16583290 ] 

Vijay commented on SPARK-6305:
------------------------------

Hello,

I have a question and need help.

I am using Spark 2 version.

My spark submit application has Log4J2 jars shaded as part of the build. The log4j.xml is placed in resources folder.

Can i create logs created using Log4J 2 API in a new file?

Could you please tell me what i need to do to make it work.

Thanks

 

 

 

 

> Add support for log4j 2.x to Spark
> ----------------------------------
>
>                 Key: SPARK-6305
>                 URL: https://issues.apache.org/jira/browse/SPARK-6305
>             Project: Spark
>          Issue Type: Improvement
>          Components: Build
>            Reporter: Tal Sliwowicz
>            Priority: Minor
>
> log4j 2 requires replacing the slf4j binding and adding the log4j jars in the classpath. Since there are shaded jars, it must be done during the build.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org