You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by abhiguruvayya <sh...@gmail.com> on 2014/07/22 21:42:52 UTC

Need info on log4j.properties for apache spark.

Hello All,

Basically i need to edit the log4j.properties to filter some of the
unnecessary logs in spark on yarn-client mode. I am not sure where can i
find log4j.properties file (location). Can any one help me on this.



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Need-info-on-log4j-properties-for-apache-spark-tp10431.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

Re: Need info on log4j.properties for apache spark.

Posted by Sean Owen <so...@cloudera.com>.
You specify your own log4j configuration in the usual log4j way --
package it in your assembly, or specify on the command line for
example. See http://logging.apache.org/log4j/1.2/manual.html

The template you can start with is in
core/src/main/resources/org/apache/spark/log4j-defaults.properties

On Tue, Jul 22, 2014 at 8:42 PM, abhiguruvayya
<sh...@gmail.com> wrote:
> Hello All,
>
> Basically i need to edit the log4j.properties to filter some of the
> unnecessary logs in spark on yarn-client mode. I am not sure where can i
> find log4j.properties file (location). Can any one help me on this.
>
>
>
> --
> View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Need-info-on-log4j-properties-for-apache-spark-tp10431.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.