spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Archit Thakur <archit279tha...@gmail.com>
Subject Re: log4j question
Date Tue, 21 Jan 2014 10:02:12 GMT
Did you change

log4j.rootCategory=INFO, console

line in your file. Or you only moved the file removing template extension?

Coz if you didn't by this log4j configuration, it'll output the log to
console and not supress it.

Like Khanderao said do,
log4j.rootCategory=OFF

If you don't want any logs.


On Fri, Jan 10, 2014 at 12:19 AM, Shay Seng <shay@1618labs.com> wrote:

> Hey,
>
> In "
> https://spark.incubator.apache.org/docs/0.8.1/configuration.html#configuring-logging
> "
> It states:
> *"Spark uses log4j <http://logging.apache.org/log4j/> for logging. You can
> configure it by adding a log4j.properties file in the conf directory. One
> way to start is to copy the existing log4j.properties.template located
> there."*
>
> I did as specified and added a log4j.properties file in the spark conf
> directory. However this did not suppress any logging.
> However if I launch spark from a directory that contains a
> log4j.properties file, it does get read in.
>
> Does the docs need re-writing, or is this a bug?
>
> tks,
> Shay
>
>
>

Mime
View raw message