From: erik Date: Thu, 22 Jul 2010 11:53:33 +0000 (+0000) Subject: (no commit message) X-Git-Tag: wamblee-utils-0.4~43 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=ecebe1d284374a15ade5c48587d2e9d40e638218;p=utils --- diff --git a/security/jpatest/src/test/java/org/wamblee/security/authentication/jpa/JpaUserAdministrationTest.java b/security/jpatest/src/test/java/org/wamblee/security/authentication/jpa/JpaUserAdministrationTest.java index 9084a3f8..548c83b3 100644 --- a/security/jpatest/src/test/java/org/wamblee/security/authentication/jpa/JpaUserAdministrationTest.java +++ b/security/jpatest/src/test/java/org/wamblee/security/authentication/jpa/JpaUserAdministrationTest.java @@ -17,9 +17,9 @@ package org.wamblee.security.authentication.jpa; import java.lang.reflect.Method; import java.sql.Connection; +import java.util.logging.Level; +import java.util.logging.Logger; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; import org.wamblee.security.authentication.UserAdministration; import org.wamblee.security.authentication.UserAdministrationImplTest; import org.wamblee.test.persistence.DatabaseUtils.JdbcUnitOfWork; @@ -33,8 +33,8 @@ import org.wamblee.test.persistence.DatabaseUtils.JdbcUnitOfWork; * @author Erik Brakkee */ public class JpaUserAdministrationTest extends UserAdministrationImplTest { - private static final Log LOG = LogFactory - .getLog(JpaUserAdministrationTest.class); + private static final Logger LOG = Logger + .getLogger(JpaUserAdministrationTest.class.getName()); private UserAdministrationTester userAdminTester; @@ -84,8 +84,8 @@ public class JpaUserAdministrationTest extends UserAdministrationImplTest { try { method.invoke(JpaUserAdministrationTest.this); } catch (Throwable t) { - LOG.error("Test " + method.getName() + - " failed"); + LOG.log(Level.WARNING, "Test " + method.getName() + + " failed", t); throw new RuntimeException(t.getMessage(), t); } finally { LOG.info("Test " + method.getName() +