[
https://issues.apache.org/jira/browse/OPENJPA-2634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15299528#comment-15299528
]
Francesco Chicchiriccò commented on OPENJPA-2634:
-------------------------------------------------
According to [the
guide|http://openjpa.apache.org/builds/2.4.0/apache-openjpa/docs/ref_guide_logging_slf4j.html]
you can delegate logging to SLF4J and then configure the concrete logging
implementation of choice, including LOG4J 2.
For instance, this my own preferred log combination for OpenJPA.
> OpenJPA support for log4j2
> --------------------------
>
> Key: OPENJPA-2634
> URL: https://issues.apache.org/jira/browse/OPENJPA-2634
> Project: OpenJPA
> Issue Type: Dependency upgrade
> Components: logging
> Affects Versions: 2.1.1
> Reporter: Rajasekhar Reddy
>
> We are using openjpa 2.1.1 in our environment. Recently, we have upgraded
> log4j logging framework from log4j1.2.16 to log4j2.3. But, after the upgrade,
> we noticed issues as openjpa 2.1.1 is making use of log4j1.2.x classes. Is
> there any openjpa version compatible with log4j2? Or is there a way to
> overcome this dependency issue?
> Thanks in advance
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)