[Schmitzm-commits] r1382 - trunk/src/schmitzm/lang

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Jan 26 00:08:29 CET 2011


Author: alfonx
Date: 2011-01-26 00:08:28 +0100 (Wed, 26 Jan 2011)
New Revision: 1382

Modified:
   trunk/src/schmitzm/lang/LangUtil.java
Log:


Modified: trunk/src/schmitzm/lang/LangUtil.java
===================================================================
--- trunk/src/schmitzm/lang/LangUtil.java	2011-01-25 20:58:59 UTC (rev 1381)
+++ trunk/src/schmitzm/lang/LangUtil.java	2011-01-25 23:08:28 UTC (rev 1382)
@@ -1428,11 +1428,12 @@
 	 *            pattern "%r\t%p\t%c\t%m%n" is used)
 	 */
 	public static void initializeDefaultLogger(Level logLevel, String logPattern) {
+		// Diry-code by Steve:
 		// Reducing the for libraries.. TODO could be
 		// Math.min(loglevel+2,LEVEL.ERROR)
 		Logger.getLogger("javax.faces").setLevel(Level.WARN);
 		Logger.getLogger("com.sun.faces").setLevel(Level.WARN);
-		// Logger.getLogger("org.hibernate").setLevel(Level.WARN);
+		Logger.getLogger("org.hibernate").setLevel(Level.WARN);
 		Logger.getLogger("net.sf.ehcache.hibernate").setLevel(Level.WARN);
 
 		if (Logger.getRootLogger().getAllAppenders().hasMoreElements())
@@ -1447,11 +1448,12 @@
 		Logger.getRootLogger().addAppender(appender);
 		Logger.getRootLogger().setLevel(logLevel);
 
+		// Diry-code by Steve:
 		// Reducing the for libraries.. TODO could be
 		// Math.min(loglevel+2,LEVEL.ERROR)
 		Logger.getLogger("javax.faces").setLevel(Level.WARN);
 		Logger.getLogger("com.sun.faces").setLevel(Level.WARN);
-		// Logger.getLogger("org.hibernate").setLevel(Level.WARN);
+		Logger.getLogger("org.hibernate").setLevel(Level.WARN);
 		Logger.getLogger("net.sf.ehcache.hibernate").setLevel(Level.WARN);
 
 	}



More information about the Schmitzm-commits mailing list