You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Ralph Goers (Jira)" <ji...@apache.org> on 2020/06/11 16:20:00 UTC
[jira] [Commented] (LOG4J2-2866) Missing
org.apache.log4j.RollingFileAppender in log4j-1.2-api.jar
[ https://issues.apache.org/jira/browse/LOG4J2-2866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17133371#comment-17133371 ]
Ralph Goers commented on LOG4J2-2866:
-------------------------------------
The class doesn't need to be present. It's behavior is being implemented by the Log4j 2 RollingFileAppender. https://github.com/apache/logging-log4j2/blob/release-2.x/log4j-1.2-api/src/main/java/org/apache/log4j/builders/appender/RollingFileAppenderBuilder.java takes care of that.
> Missing org.apache.log4j.RollingFileAppender in log4j-1.2-api.jar
> -----------------------------------------------------------------
>
> Key: LOG4J2-2866
> URL: https://issues.apache.org/jira/browse/LOG4J2-2866
> Project: Log4j 2
> Issue Type: Bug
> Components: log4j 1.2 emulation
> Affects Versions: 2.13.3
> Reporter: Bipin
> Priority: Critical
>
> Even though it is mentioned in the documentation that following appenders are supported in log4j 1.2 emulation, it is seen that RollingFileAppender is not included in the emulation jar.
> h2. Supported Components
> h3. Appenders
> * AsyncAppender
> * ConsoleAppender
> * DailyRollingFileAppender
> * FileAppender
> * NullAppender
> * RewriteAppender (limited)
> * RollingFileAppender
> * SyslogAppender
>
> Emulation documentation:
> [https://logging.apache.org/log4j/2.x/manual/compatibility.html]
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)