Source

Too Much Coding / Unit Testing - Matchers / src / main / resources / log4j.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">

	<!-- Appenders -->
	<appender name="console" class="org.apache.log4j.ConsoleAppender">
		<param name="Target" value="System.out" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d %-5p [%t] %c:%L %m%n" />
		</layout>
	</appender>
	
	<!-- Application Loggers -->
	<logger name="pl.grzejszczak.marcin">
		<level value="DEBUG" />
	</logger>

	<!-- Root Logger -->
	<root>
		<priority value="INFO" />
		<appender-ref ref="console" />
	</root>
	
</log4j:configuration>