You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/06/18 16:56:00 UTC

[jira] [Updated] (HIVE-19886) Logs may be directed to 2 files if --hiveconf hive.log.file is used

     [ https://issues.apache.org/jira/browse/HIVE-19886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated HIVE-19886:
----------------------------------
    Labels: pull-request-available  (was: )

> Logs may be directed to 2 files if --hiveconf hive.log.file is used
> -------------------------------------------------------------------
>
>                 Key: HIVE-19886
>                 URL: https://issues.apache.org/jira/browse/HIVE-19886
>             Project: Hive
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 3.1.0, 4.0.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Jaume M
>            Priority: Major
>              Labels: pull-request-available
>
> hive launch script explicitly specific log4j2 configuration file to use. The main() methods in HiveServer2 and HiveMetastore reconfigures the logger based on user input via --hiveconf hive.log.file. This may cause logs to end up in 2 different files. Initial logs goes to the file specified in hive-log4j2.properties and after logger reconfiguration the rest of the logs goes to the file specified via --hiveconf hive.log.file. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)