From be641d6dd931f0a21c8f5946915062d812277981 Mon Sep 17 00:00:00 2001 From: kkolinko Date: Sat, 29 Jan 2011 18:08:37 +0000 Subject: [PATCH] When running the tests use log configuration specified by conf/logging.properties git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1065087 13f79535-47bb-0310-9956-ffa450edef68 --- test/org/apache/catalina/startup/TomcatBaseTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/org/apache/catalina/startup/TomcatBaseTest.java b/test/org/apache/catalina/startup/TomcatBaseTest.java index 3ff74ef47..b48fcd0e2 100644 --- a/test/org/apache/catalina/startup/TomcatBaseTest.java +++ b/test/org/apache/catalina/startup/TomcatBaseTest.java @@ -94,6 +94,8 @@ public abstract class TomcatBaseTest extends TestCase { // Need to use JULI so log messages from the tests are visible System.setProperty("java.util.logging.manager", "org.apache.juli.ClassLoaderLogManager"); + System.setProperty("java.util.logging.config.file", new File( + getBuildDirectory(), "conf/logging.properties").toString()); tempDir = new File(System.getProperty("tomcat.test.temp", "output/tmp")); if (!tempDir.exists() && !tempDir.mkdirs()) { -- 2.11.0