[ https://issues.apache.org/jira/browse/HADOOP-12956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16224234#comment-16224234 ]
Ralph Goers edited comment on HADOOP-12956 at 10/29/17 10:29 PM: ----------------------------------------------------------------- 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. At some point you are going to have to get off of Log4j 1. The log4j team started an effort to create a properties file converter but it would only be able to convert Appenders & Layouts that are part of Log4j 1 itself. That is working to some degree but is still considered experimental. Any user created Appenders and Layouts would not be able to be migrated. As we would not be able to convert them to a Log4j 2 plugin. That said, we welcome any ideas or contributions anyone wants to contribute to make the migration easier. 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. was (Author: ralph.go...@dslextreme.com): 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. At some point you are going to have to get off of Log4j 1. The log4j team started an effort to create a properties file converter but it would only be able to convert Appenders & Layouts that are part of Log4j 1 itself. That is working to some degree but is still considered experimental. Any user created Appenders and Layouts would not be able to be migrated. As we would not be able to convert them to a Log4j 2 plugin. That said, we welcome any ideas or contributions anyone wants to contribute to make the migration easier. > Inevitable Log4j2 migration via slf4j > ------------------------------------- > > Key: HADOOP-12956 > URL: https://issues.apache.org/jira/browse/HADOOP-12956 > Project: Hadoop Common > Issue Type: Improvement > Reporter: Gopal V > Assignee: Haohui Mai > > {{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 -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org