[
https://issues.apache.org/jira/browse/LOG4J2-444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Williams resolved LOG4J2-444.
----------------------------------
Resolution: Not A Problem
Assignee: Nick Williams
According to the [EclipseLink logging
documentation|http://wiki.eclipse.org/EclipseLink/Foundation/Logging#Using_Log4J],
you just need to make sure Commons Logging 1.1.x and the Log4j 2 Commons
Logging Bridge (Maven artifact log4j-jcl) are on your classpath and add the
following property to your persistence unit:
{code:xml}<property name="eclipselink.logging.logger"
value="org.eclipse.persistence.logging.CommonsLoggingSessionLog"/>{code}
> Log4j2 eclipselink integration
> ------------------------------
>
> Key: LOG4J2-444
> URL: https://issues.apache.org/jira/browse/LOG4J2-444
> Project: Log4j 2
> Issue Type: Question
> Affects Versions: 2.0-beta9
> Reporter: Mickael Hemri
> Assignee: Nick Williams
>
> Hi everyone,
> I wanted to know If someone knows a way to integrate eclipselink logger with
> log4j2. I try to do it myself but I didn't succeed.
> Thanks !
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]