[seam-commits] Seam SVN: r9020 - trunk/src/main/org/jboss/seam/exception.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Sep 18 14:35:50 EDT 2008


Author: pete.muir at jboss.org
Date: 2008-09-18 14:35:49 -0400 (Thu, 18 Sep 2008)
New Revision: 9020

Modified:
   trunk/src/main/org/jboss/seam/exception/Exceptions.java
Log:
allow uppercase log levels

Modified: trunk/src/main/org/jboss/seam/exception/Exceptions.java
===================================================================
--- trunk/src/main/org/jboss/seam/exception/Exceptions.java	2008-09-18 18:34:52 UTC (rev 9019)
+++ trunk/src/main/org/jboss/seam/exception/Exceptions.java	2008-09-18 18:35:49 UTC (rev 9020)
@@ -158,7 +158,7 @@
             try
             {
                logLevel = exception.attributeValue("logLevel") != null ?
-                     LogLevel.valueOf(exception.attributeValue("logLevel")) : null;
+                     LogLevel.valueOf(exception.attributeValue("logLevel").toLowerCase()) : null;
             }
             catch (IllegalArgumentException ex)
             { 




More information about the seam-commits mailing list