Re: logging.properties file ignored for unit tests

2009-02-12 Thread Karan Malhi
Rename the file to embedded.logging.properties. When testing with embedded OpenEJB, this is the file which is used. logging.properties is used when you use openejb with tomcat or use it as a standalone server. So for example, in my tests, I put this file under src/test/resources and it gets picked

Re: logging.properties file ignored for unit tests

2009-01-21 Thread David Blevins
On Jan 19, 2009, at 2:40 AM, Olivier THIERRY wrote: Hi, I use Open EJB 3.1 within a Maven 2.0.9 project to run tests. Everything works well for the moment. But for a few days I encounter a bug with entity manager and I need to activate logs to understand what happens. I start OpenEJB this way

logging.properties file ignored for unit tests

2009-01-19 Thread Olivier THIERRY
Hi, I use Open EJB 3.1 within a Maven 2.0.9 project to run tests. Everything works well for the moment. But for a few days I encounter a bug with entity manager and I need to activate logs to understand what happens. I start OpenEJB this way : System.setProperty("openejb.base", "