diff --git a/spring-beans/src/test/java/org/springframework/beans/factory/DefaultListableBeanFactoryTests.java b/spring-beans/src/test/java/org/springframework/beans/factory/DefaultListableBeanFactoryTests.java
index 4045578c8c..94f6376ce1 100644
--- a/spring-beans/src/test/java/org/springframework/beans/factory/DefaultListableBeanFactoryTests.java
+++ b/spring-beans/src/test/java/org/springframework/beans/factory/DefaultListableBeanFactoryTests.java
@@ -591,7 +591,6 @@ public class DefaultListableBeanFactoryTests {
fail("Should throw exception on invalid property");
}
catch (BeanCreationException ex) {
- ex.printStackTrace();
assertTrue(ex.getCause() instanceof NotWritablePropertyException);
NotWritablePropertyException cause = (NotWritablePropertyException) ex.getCause();
// expected
diff --git a/spring-beans/src/test/java/org/springframework/beans/factory/parsing/CustomProblemReporterTests.java b/spring-beans/src/test/java/org/springframework/beans/factory/parsing/CustomProblemReporterTests.java
index cc009917fd..550e87375b 100644
--- a/spring-beans/src/test/java/org/springframework/beans/factory/parsing/CustomProblemReporterTests.java
+++ b/spring-beans/src/test/java/org/springframework/beans/factory/parsing/CustomProblemReporterTests.java
@@ -29,7 +29,6 @@ import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
import org.springframework.core.io.Resource;
import org.springframework.tests.sample.beans.TestBean;
-
/**
* @author Rob Harrop
* @author Chris Beams
@@ -78,7 +77,6 @@ public final class CustomProblemReporterTests {
@Override
public void error(Problem problem) {
- System.out.println(problem);
this.errors.add(problem);
}
@@ -88,7 +86,6 @@ public final class CustomProblemReporterTests {
@Override
public void warning(Problem problem) {
- System.out.println(problem);
this.warnings.add(problem);
}
}
diff --git a/spring-beans/src/test/resources/log4j.xml b/spring-beans/src/test/resources/log4j.xml
index 37f573d2ae..6f012e9924 100644
--- a/spring-beans/src/test/resources/log4j.xml
+++ b/spring-beans/src/test/resources/log4j.xml
@@ -11,21 +11,13 @@
-
-
-
-
-
-
-
-
-
+
-
+