Support Questions

Find answers, ask questions, and share your expertise

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

avatar
Rising Star

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

1 ACCEPTED SOLUTION

avatar
Master 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

View solution in original post

1 REPLY 1

avatar
Master 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