[ 
https://issues.apache.org/jira/browse/HIVE-21392?focusedWorklogId=213540&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-213540
 ]

ASF GitHub Bot logged work on HIVE-21392:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 15/Mar/19 03:20
            Start Date: 15/Mar/19 03:20
    Worklog Time Spent: 10m 
      Work Description: coder-chenzhi commented on pull request #571: 
HIVE-21392 Fix misconfigurations of DataNucleus log in log4j.properties
URL: https://github.com/apache/hive/pull/571
 
 
   HIVE-21392 Misconfigurations of DataNucleus log in log4j.properties
   
   In the patch of 
[HIVE-12020](https://issues.apache.org/jira/browse/HIVE-12020), we changed the 
DataNucleus related logging configuration from nine fine-grained loggers with 
three coarse-grained loggers (DataNucleus, Datastore and JPOX). 
   
   As Prasanth Jayachandran 
[explain](https://issues.apache.org/jira/browse/HIVE-12020?focusedCommentId=15025612&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15025612),
 these three loggers are the top-level logger in DataNucleus, so that we don't 
need to specify other loggers for DataNucleus. 
   
   However, according to the 
[documents](http://www.datanucleus.org/products/accessplatform/logging.html) 
and [source 
codes](https://github.com/datanucleus/datanucleus-core/blob/master/src/main/java/org/datanucleus/util/NucleusLogger.java#L108)
 of DataNucleus, the top-level logger in DataNucleus is `DataNucleus`. 
Therefore, we just need to keep the right one.
   
   Redo this [PR](https://github.com/apache/hive/pull/556) because of my 
misoperation.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 213540)
    Time Spent: 50m  (was: 40m)

> Misconfigurations of DataNucleus log in log4j.properties
> --------------------------------------------------------
>
>                 Key: HIVE-21392
>                 URL: https://issues.apache.org/jira/browse/HIVE-21392
>             Project: Hive
>          Issue Type: Improvement
>          Components: Logging
>    Affects Versions: 2.0.0
>            Reporter: Chen Zhi
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-21392.patch
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> In the patch of  
> [HIVE-12020|https://issues.apache.org/jira/browse/HIVE-12020], we changed the 
> DataNucleus related logging configuration from nine fine-grained loggers with 
> three coarse-grained loggers (DataNucleus, Datastore and JPOX). As Prasanth 
> Jayachandran 
> [explain|https://issues.apache.org/jira/browse/HIVE-12020?focusedCommentId=15025612&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15025612],
>  these three loggers are the top-level logger in DataNucleus, so that we 
> don't need to specify other loggers for DataNucleus. However, according to 
> the 
> [documents|http://www.datanucleus.org/products/accessplatform/logging.html] 
> and [source 
> codes|https://github.com/datanucleus/datanucleus-core/blob/master/src/main/java/org/datanucleus/util/NucleusLogger.java#L108]
>  of DataNucleus, the top-level logger in DataNucleus is `DataNucleus`. 
> Therefore, we just need to keep the right one.



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

Reply via email to