Author: pete.muir(a)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)
{