You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2015/11/13 16:44:11 UTC
[jira] [Commented] (HIVE-12402) Split hive.root.logger separately
to make it compatible with log4j1.x
[ https://issues.apache.org/jira/browse/HIVE-12402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15004135#comment-15004135 ]
Ashutosh Chauhan commented on HIVE-12402:
-----------------------------------------
Instead of direct reference to log4j::Level its better to use slf4j api to configure logging for log4j. Thats the whole point of using facade like slf4j.
> Split hive.root.logger separately to make it compatible with log4j1.x
> ---------------------------------------------------------------------
>
> Key: HIVE-12402
> URL: https://issues.apache.org/jira/browse/HIVE-12402
> Project: Hive
> Issue Type: Sub-task
> Components: Logging
> Affects Versions: 2.0.0
> Reporter: Prasanth Jayachandran
> Assignee: Prasanth Jayachandran
> Attachments: HIVE-12402.patch
>
>
> With new Log4j2.x specifying logger name and log level together will not work.
> With old logger following will work
> --hiveconf hive.root.logger=DEBUG,console
> But with new logger we should specify logger and level separately
> --hiveconf hive.root.logger=console --hiveconf hive.log.level=DEBUG
> We can do this change internally for users still using the old configs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)