ok thikn the easiest is to add in conf/system.properties openejb.external.logger=true and put log4j.properties in lib/ otherwise log4j config is split accross conf/logging.properties for tomee and lib/log4j.properties for tomcat.
On next releases it is really easier :). Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-07-23 17:34 GMT+02:00 Keith Williams <[email protected]>: > Here is the pom.xml where I've tried to have TomEE use log4j throughout. > Simply run: > mvn package tomee:run > to see the issues. No ejb log messages and I am getting an error from slf4j > which I don;t understand since I believe I have an implementation. > I would GREATLY appreciate a pom.xml that works as I have spent too much > time on this. But it is critical because I don;t believe we can go to > production without real logging. > pom.xml <http://tomee-openejb.979440.n4.nabble.com/file/n4670686/pom.xml> > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/openEJB-log4j-tp4670622p4670686.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
