You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Prasanth Jayachandran (JIRA)" <ji...@apache.org> on 2015/09/09 02:19:46 UTC

[jira] [Comment Edited] (HIVE-11751) hive-exec-log4j2.xml settings causes DEBUG messages to be generated and ignored

    [ https://issues.apache.org/jira/browse/HIVE-11751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14735885#comment-14735885 ] 

Prasanth Jayachandran edited comment on HIVE-11751 at 9/9/15 12:19 AM:
-----------------------------------------------------------------------

[~rajesh.balamohan] hive-log4j2.xml controls the client side logging (hive client only) and hive-exec-log4j2.xml controls the server side logging. Can you try setting hive.log.level=INFO on both xml files and see if it solves the issue? With both being set, I am not seeing any DEBUG logs.


was (Author: prasanth_j):
[~rajesh.balamohan] hive-log4j2.xml controls the client side logging (hive client, tez client, dfs client etc.) and hive-exec-log4j2.xml controls the server side logging. Can you try setting hive.log.level=INFO on both xml files and see if it solves the issue? With both being set, I am not seeing any DEBUG logs.

> hive-exec-log4j2.xml settings causes DEBUG messages to be generated and ignored
> -------------------------------------------------------------------------------
>
>                 Key: HIVE-11751
>                 URL: https://issues.apache.org/jira/browse/HIVE-11751
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Rajesh Balamohan
>            Assignee: Prasanth Jayachandran
>         Attachments: hiveserver2_log4j.png
>
>
> Setting "<Property name="hive.log.threshold">INFO</Property>" in dist/hive/conf/hive-exec-log4j2.xml fixes the problem. Should it be made as default in hive-exec-log4j2.xml? "--hiveconf hive.log.level=INFO" from commandline does not have any impact.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)