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

Prasanth Jayachandran commented on HIVE-13027:
----------------------------------------------

The automatic log4j2 configurator will look for file specified via 
-Dlog4j.configurationFile.. if this file could not be located in classpath then 
it will default to ERROR,console. 

Programmatic initialization of logging happens in CliDriver and when running 
metastore as a service. Programmatic initialization looks for 
hive-log4j2.properties. mr/ExecDriver which initializes the logging for child 
JVM uses hive-exec-log4j2.properties. I suspect initialization using 
hive-exec-log4j2.properties as it is mr only code path. 

> Async loggers for LLAP
> ----------------------
>
>                 Key: HIVE-13027
>                 URL: https://issues.apache.org/jira/browse/HIVE-13027
>             Project: Hive
>          Issue Type: Improvement
>          Components: Logging
>    Affects Versions: 2.1.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Prasanth Jayachandran
>         Attachments: HIVE-13027.1.patch
>
>
> LOG4j2's async logger claims to have 6-68 times better performance than 
> synchronous logger. https://logging.apache.org/log4j/2.x/manual/async.html
> We should use that for LLAP. 



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

Reply via email to