You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by pth001 <Pa...@uni.no> on 2015/11/16 18:27:38 UTC

override log4j level

Hi,

How can I override log4j level by using --hiveconf? I want to use ERROR 
level for some tasks.

Thanks,
Patcharee

Re: override log4j level

Posted by Lefty Leverenz <le...@gmail.com>.
This is documented in the wiki:  Hive Logging
<https://cwiki.apache.org/confluence/display/Hive/GettingStarted#GettingStarted-HiveLogging>
.

-- Lefty

On Mon, Nov 16, 2015 at 11:49 PM, Amey Barve <am...@gmail.com> wrote:

> Hi Patcharee,
>
> Use
> *--hiveconf hive.root.logger=ERROR,console*
>
> Regards,
> Amey
>
> On Mon, Nov 16, 2015 at 10:57 PM, pth001 <Pa...@uni.no>
> wrote:
>
>> Hi,
>>
>> How can I override log4j level by using --hiveconf? I want to use ERROR
>> level for some tasks.
>>
>> Thanks,
>> Patcharee
>>
>
>

Re: override log4j level

Posted by Amey Barve <am...@gmail.com>.
Hi Patcharee,

Use
*--hiveconf hive.root.logger=ERROR,console*

Regards,
Amey

On Mon, Nov 16, 2015 at 10:57 PM, pth001 <Pa...@uni.no> wrote:

> Hi,
>
> How can I override log4j level by using --hiveconf? I want to use ERROR
> level for some tasks.
>
> Thanks,
> Patcharee
>