diff --git a/haas-spim-benchmark/src/main/resources/.gitignore b/haas-spim-benchmark/src/main/resources/.gitignore
index b5285f5f9fb3ae9423696a524c0fcf6c5a8d5d0c..3b312ebbc78434037cc17c11101de3c29dd8e1e8 100644
--- a/haas-spim-benchmark/src/main/resources/.gitignore
+++ b/haas-spim-benchmark/src/main/resources/.gitignore
@@ -1 +1,2 @@
 /configuration.properties
+/log4j.xml
diff --git a/haas-spim-benchmark/src/main/resources/log4j.xml.template b/haas-spim-benchmark/src/main/resources/log4j.xml.template
new file mode 100644
index 0000000000000000000000000000000000000000..628fd42f829f58a5c8bbf63e8a814745fe1c0e40
--- /dev/null
+++ b/haas-spim-benchmark/src/main/resources/log4j.xml.template
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+<log4j:configuration
+	xmlns:log4j="http://jakarta.apache.org/log4j/">
+	<appender name="console"
+		class="org.apache.log4j.ConsoleAppender" >
+		<param name="Target" value="System.out" />
+		<layout class="org.apache.log4j.PatternLayout">
+			<param name="ConversionPattern" value="%-5p %c{1} - %m%n" />
+		</layout>
+	</appender>
+	<logger name="cz.it4i">
+		<level value="debug" />
+	</logger>
+	<root>
+		<priority value="info" />
+		<appender-ref ref="console" />
+	</root>
+
+</log4j:configuration>
\ No newline at end of file