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/08/01 22:47:00 UTC

[jira] [Commented] (LOG4J2-2827) Consider to add classes from "org.apache.log4j.varia" of log4j 1.x to "log4j-1.2-api" bridge

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

Ralph Goers commented on LOG4J2-2827:
-------------------------------------

Patches and pull requests are welcome.

> Consider to add classes from "org.apache.log4j.varia" of log4j 1.x to "log4j-1.2-api" bridge
> --------------------------------------------------------------------------------------------
>
>                 Key: LOG4J2-2827
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2827
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: log4j 1.2 emulation
>    Affects Versions: 2.13.1
>            Reporter: Alexey Kuznetsov
>            Priority: Major
>
> I'm using Log4J 2.x for tests of my application.
> But several tests depends on external library that not under my control.
> And that library is using log4j 1.x.
> So, I added to classpath log4j-1.2-api and everything ALMOST start working, except that compilation failed with "Class not found of org.apache.log4j.varia.LevelRangeFilter".
> So, I simply "copy-pasted" that class to my test and everything start working as expected.
> I think that classes from "org.apache.log4j.varia" package can be added to log4j-1.2-api



--
This message was sent by Atlassian Jira
(v8.3.4#803005)