diff --git a/activemq-core/pom.xml b/activemq-core/pom.xml
index e7834962da..a8632d8945 100755
--- a/activemq-core/pom.xml
+++ b/activemq-core/pom.xml
@@ -366,6 +366,10 @@
org.apache.activemq.default.directory.prefix
target/
+
+ log4j.configuration
+ file:target/test-classes/log4j.properties
+