Friday, September 18, 2009

Configure logging level

Here is how I disabled hibernate JPA logging level in code.

Logger.getLogger("org.hibernate").setLevel(Level.SEVERE);