I’ve created a simple Java app in MyEclipse that uses JPA (JPA is a God-send). I noticed the generated JPA code (EntityManagerHelper and the like) use java.util.logging.Logger and I thought this could be easily managed with a log4j.properties file. But no such luck.
I’m trying to take control of the logged out[ut which is currently coming to the console. I’ve created a log4j.properties file and placed it in the src directory, but it has no effect.
How do I configure java logging for my project in the MyEclipse environment? Is there something more I need to do than just placing log4j.properties in the src directory?