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

stack commented on HBASE-19449:
-------------------------------

HADOOP-12956 is the hadoop logging issue. Good back and forth. It starts out 
with:

{quote}
5 August 2015 --The Apache Logging Services™ Project Management Committee (PMC) 
has announced that the Log4j™ 1.x logging framework has reached its end of life 
(EOL) and is no longer officially supported.
https://blogs.apache.org/foundation/entry/apache_logging_services_project_announces
A whole framework log4j2 upgrade has to be synchronized, partly for improved 
performance brought about by log4j2.
https://logging.apache.org/log4j/2.x/manual/async.html#Performance
{quote}

Gems from the long issue:

{quote}
The only thing that supports the log4j 1 properties files is Log4j 1.x. That 
was declared EOL 2 years ago. The last release of Log4j 1 was 5 1/2 years ago. 
It doesn't run in Java 9 without hacking it.
{quote}

Ralph of Log4j Project:
{quote}I should also point out, SLF4J isn't really an answer for this problem 
either as Logback doesn't support Log4j 1 configurations and its migration tool 
can't handle custom Appenders or Layouts either.
{quote}
Our Sean:
{quote}
SLF4j is exactly the operational answer Hadoop needs. It lets us move our 
code's assumptions off of log4j1 while providing a log4j 1 bridge that will 
work with existing log4j 1 properties files. That way we can work incrementally 
on updating the code base while not requiring operators to change anything. 
Once we're done, operators who want to switch early can do so. As a project we 
can wait for our next major version to move the default to some other logging 
implementation.
{quote}

There is patch on end of this issue posted recently by the log4j2 folks. It 
uses the log4j1 => 2 bridge (Need to check if supports old-style property files 
-- don't think so... TODO).

In the end, hadoop moves to slf4 for 2.9 and 3.0j. See HADOOP-14289



> Implement SLF4J and SLF4J Parameter Substitution
> ------------------------------------------------
>
>                 Key: HBASE-19449
>                 URL: https://issues.apache.org/jira/browse/HBASE-19449
>             Project: HBase
>          Issue Type: Improvement
>          Components: hbase
>    Affects Versions: 3.0.0
>            Reporter: BELUGA BEHR
>            Assignee: BELUGA BEHR
>            Priority: Trivial
>             Fix For: 2.0.0
>
>         Attachments: HBASE-19449.1.patch, HBASE-19449.2.patch, 
> HBASE-19449.3.patch, HBASE-19449.4.patch
>
>
> For the {{HFileArchiver.java}} class...
> * Use SLF4J logging
> * Use SLF4J parameter substitution
> * Fix some small issues with missing spaces between words in the log message 
> and the like
> https://www.slf4j.org/faq.html#logging_performance



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to