You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Ritesh Kumar Singh <ri...@gmail.com> on 2014/11/10 13:21:01 UTC

Removing INFO logs

How can I remove all the INFO logs that appear on the console when I submit
an application using spark-submit?

Re: Removing INFO logs

Posted by Ritesh Kumar Singh <ri...@gmail.com>.
It works.

Thanks

On Mon, Nov 10, 2014 at 6:32 PM, YANG Fan <id...@gmail.com> wrote:

> Hi,
>
> In conf/log4j.properties, change the following
>
>     log4j.rootCategory=INFO, console
>
> to
>      log4j.rootCategory=WARN, console
>
> This works for me.
>
> Best,
> Fan
>
> On Mon, Nov 10, 2014 at 8:21 PM, Ritesh Kumar Singh <
> riteshoneinamillion@gmail.com> wrote:
>
>> How can I remove all the INFO logs that appear on the console when I
>> submit an application using spark-submit?
>>
>
>

Re: Removing INFO logs

Posted by YANG Fan <id...@gmail.com>.
Hi,

In conf/log4j.properties, change the following

    log4j.rootCategory=INFO, console

to
     log4j.rootCategory=WARN, console

This works for me.

Best,
Fan

On Mon, Nov 10, 2014 at 8:21 PM, Ritesh Kumar Singh <
riteshoneinamillion@gmail.com> wrote:

> How can I remove all the INFO logs that appear on the console when I
> submit an application using spark-submit?
>