[
https://issues.apache.org/jira/browse/HIVE-12020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15043749#comment-15043749
]
Lefty Leverenz commented on HIVE-12020:
---------------------------------------
[~prasanth_j], in the descriptions for *hive.log4j.file* and
*hive.exec.log4j.file* the example filenames weren't changed from ".xml" to
".properties" although they had been ".properties" before HIVE-11304 changed
them to ".xml". Should they be ".xml" now?
{code}
HIVE_LOG4J_FILE("hive.log4j.file", "",
"Hive log4j configuration file.\n" +
- "If the property is not set, then logging will be initialized using
hive-log4j2.xml found on the classpath.\n" +
+ "If the property is not set, then logging will be initialized using
hive-log4j2.properties found on the classpath.\n" +
"If the property is set, the value must be a valid URI (java.net.URI,
e.g. \"file:///tmp/my-logging.xml\"), \n" +
"which you can then extract a URL from and pass to
PropertyConfigurator.configure(URL)."),
HIVE_EXEC_LOG4J_FILE("hive.exec.log4j.file", "",
"Hive log4j configuration file for execution mode(sub command).\n" +
- "If the property is not set, then logging will be initialized using
hive-exec-log4j2.xml found on the classpath.\n" +
+ "If the property is not set, then logging will be initialized using
hive-exec-log4j2.properties found on the classpath.\n" +
"If the property is set, the value must be a valid URI (java.net.URI,
e.g. \"file:///tmp/my-logging.xml\"), \n" +
"which you can then extract a URL from and pass to
PropertyConfigurator.configure(URL)."),
{code}
> Revert log4j2 xml configuration to properties based configuration
> -----------------------------------------------------------------
>
> Key: HIVE-12020
> URL: https://issues.apache.org/jira/browse/HIVE-12020
> Project: Hive
> Issue Type: Sub-task
> Components: Logging
> Affects Versions: 2.0.0
> Reporter: Prasanth Jayachandran
> Assignee: Prasanth Jayachandran
> Labels: TODOC2.0
> Fix For: 2.0.0
>
> Attachments: HIVE-12020.1.patch, HIVE-12020.2.patch,
> HIVE-12020.3.patch, HIVE-12020.4.patch, HIVE-12020.4.patch
>
>
> Log4j 2.4 release brought back properties based configuration. We should
> revert XML based configuration and use properties based configuration instead
> (less verbose and will be similar to old log4j properties).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)