Websphere 8.5 Log4J not working with Parent First

2k Views Asked by At

I tried to deploy my application to Websphere 8.5. Due to some reasons, I need to use class loader Parent First.

This is my ear file structure

EAR
-|__META-INF
-|__WAR
-----|__META-INF
-----|-----|__MANIFEST
-----|-----|__services
-----|__WEB_INF (included compiled classes, lib, conf files etc.)

I have tried to put the org.apache.commons.logging.LogFactory file in META-INF/services with value org.apache.commons.logging.impl.Log4JLogger but it is not working.

Anyone know how to config log4j for Websphere 8.5?

Thanks

PS: I used log4j 1.2.17 and commons-logging 1.1.3

0

There are 0 best solutions below