How can I configure OpenEJB logging format? This is what what I see now in logs:
[...]
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running com.XXX.FooTest
Apache OpenEJB 3.1.3 build: 20101015-05:42
http://openejb.apache.org/
INFO - openejb.home = /code/XXX
INFO - openejb.base = /code/XXX
INFO - Configuring Service(id=Default Security Serv...
[...]
I would like to disable INFO messages, and change formatting of others. Changes in log4j.properties have no effect.
This is what I did to make things work properly (in
pom.xml):Works fine now. This is my
test/resources/jndi.properties:This is
test/resources/log4j.properties:Now I can fine-tune logging of OpenEJB during testing, thanks to David’s support 🙂