Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Can you please provide information and samples for Log 4J in Spark ?

Solved Go to solution

Can you please provide information and samples for Log 4J in Spark ?

New Contributor

Can you please provide information and samples for Log 4J in Spark ?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Can you please provide information and samples for Log 4J in Spark ?

Mentor
@narender pasunooti

you can configure log4j using the default template http://spark.apache.org/docs/latest/configuration.html#configuring-logging Spark ships a template called log4.properties.template in the conf directory that you can copy and modify https://github.com/apache/spark/blob/master/conf/log4j.properties.template

1 REPLY 1
Highlighted

Re: Can you please provide information and samples for Log 4J in Spark ?

Mentor
@narender pasunooti

you can configure log4j using the default template http://spark.apache.org/docs/latest/configuration.html#configuring-logging Spark ships a template called log4.properties.template in the conf directory that you can copy and modify https://github.com/apache/spark/blob/master/conf/log4j.properties.template