Repository: activemq-artemis Updated Branches: refs/heads/master 6f496e774 -> 61e10fe65
NO-JIRA Passing the logger manager on spawned VMs through the testsuite Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/61e10fe6 Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/61e10fe6 Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/61e10fe6 Branch: refs/heads/master Commit: 61e10fe65a560ebf740a620c69a5cbbdf938a2bc Parents: 6f496e7 Author: Clebert Suconic <[email protected]> Authored: Thu Mar 2 09:52:56 2017 -0500 Committer: Clebert Suconic <[email protected]> Committed: Thu Mar 2 10:04:28 2017 -0500 ---------------------------------------------------------------------- .../org/apache/activemq/artemis/tests/util/SpawnedVMSupport.java | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/61e10fe6/tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/util/SpawnedVMSupport.java ---------------------------------------------------------------------- diff --git a/tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/util/SpawnedVMSupport.java b/tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/util/SpawnedVMSupport.java index 703c848..1ed0e73 100644 --- a/tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/util/SpawnedVMSupport.java +++ b/tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/util/SpawnedVMSupport.java @@ -101,6 +101,10 @@ public final class SpawnedVMSupport { } } + // The logs will be huge if you don't set this + commandList.add("-Djava.util.logging.manager=org.jboss.logmanager.LogManager"); + commandList.add("-Dlogging.configuration=file:../config/logging.properties"); + commandList.add("-Djava.io.tmpdir=" + System.getProperty("java.io.tmpdir", "./tmp")); commandList.add("-Djava.library.path=" + System.getProperty("java.library.path", "./native/bin"));
