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 2016/09/28 20:37:20 UTC

[jira] [Commented] (HIVE-14852) Change qtest logging to not redirect all logs to console

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

Prasanth Jayachandran commented on HIVE-14852:
----------------------------------------------

<log4j.configurationFile> is set twice? Is this patch trying to use different properties file for qtest and different properties file for all other unit tests? I think we should avoid adding another properties file as this it will get harder to find which file was used during initialization. We also bundle some properties files in the jars. Is it possible to reuse data/conf/hive-log4j2.properties file and write to file like we used to do before? For IDE, may be we can add a maven profile that gets activated only for IDEs that will print logs to console.

> Change qtest logging to not redirect all logs to console
> --------------------------------------------------------
>
>                 Key: HIVE-14852
>                 URL: https://issues.apache.org/jira/browse/HIVE-14852
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Siddharth Seth
>            Assignee: Siddharth Seth
>         Attachments: HIVE-14852.01.patch
>
>
> A change was made recently to redirect all logs to console, to make IDE debugging of regular tests easier. That unfortunately makes qtest debugging tougher - since there's a lot of noise along with the diffs in the output file.



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