Openspaces with log4j2 [closed]

Hello,

I have gigaspaces configured in an app that is set up to use Apache's Log4j2, however when I run the application I get a log4j warning complaining about appenders not being set and pointing towards org.openspaces.core.space.AbstractSpaceFactoryBean. Investigating it, in AbstractSpaceFactoryBean declares a logger using apache.commons.logging. I can suppress the warning by adding a log4j(1) configured log4j.properties file to the classpath along with my log4j2.xml file, but I would really rather not have to add an unnecessary file. Is there any way to get openspaces to play nice with log4j2 or do I just have to live with that error?

EDIT Was able to pretty trivially solve this by adding apache's "Commons Logging Bridge" through maven

asked 2014-06-17 11:20:09 -0500

updated 2014-06-17 11:35:30 -0500

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by CharlesDiMaggio
close date 2014-06-17 11:35:44.385933