[ https://issues.apache.org/jira/browse/OPENJPA-2842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17240978#comment-17240978 ]
Romain Manni-Bucau commented on OPENJPA-2842: --------------------------------------------- It is probably wiser to use "log4j2" for log4j2 impl, any guess will likely be random and a bug since both are still often together due to 3rd parties. > openjpa.Log=log4j should automatically switch between log4j-1.x and 2.x > ----------------------------------------------------------------------- > > Key: OPENJPA-2842 > URL: https://issues.apache.org/jira/browse/OPENJPA-2842 > Project: OpenJPA > Issue Type: Bug > Components: logging > Affects Versions: 3.1.2 > Reporter: Mark Struberg > Assignee: Mark Struberg > Priority: Major > Fix For: 3.1.3 > > > Somewhen in 2018 we added support for log4j2. Sadly we killed log4j-1.x > support (which is still widely in use). > > We should automatically detect which version of log4j is available and then > use that. -- This message was sent by Atlassian Jira (v8.3.4#803005)