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

	<!-- CONSOLE -->
	<appender name="console" class="org.apache.log4j.ConsoleAppender">
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d %-5p [%c] %m%n" />
		</layout>
	</appender>

	<!-- FICHIER -->
	<appender name="fichier" class="org.apache.log4j.DailyRollingFileAppender">
		<param name="file" value="logs/centralperf.log" />
		<param name="datePattern" value="'.'yyyy-MM-dd" />
		<param name="append" value="true" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d [%t] %-5p %C{6} (%F:%L) - %m%n" />
		</layout>
	</appender>

	<logger name="org.centralperf">
		<level value="debug" />
	</logger>

	<root>
		<priority value="INFO" />
		<!--  <appender-ref ref="fichier" /> -->
		<appender-ref ref="console" />
	</root>
</log4j:configuration>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" threshold="all" debug="false">

	<!-- CONSOLE -->
	<appender name="console" class="org.apache.log4j.ConsoleAppender">
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d %-5p [%c] %m%n" />
		</layout>
	</appender>

	<!-- FICHIER -->
	<appender name="fichier" class="org.apache.log4j.DailyRollingFileAppender">
		<param name="file" value="logs/centralperf.log" />
		<param name="datePattern" value="'.'yyyy-MM-dd" />
		<param name="append" value="true" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d [%t] %-5p %C{6} (%F:%L) - %m%n" />
		</layout>
	</appender>

	<logger name="org.centralperf">
		<level value="INFO" />
	</logger>

	<root>
		<priority value="INFO" />
		<!--  <appender-ref ref="fichier" /> -->
		<appender-ref ref="console" />
	</root>
</log4j:configuration>
Change default log level to INFO
Change default log level to INFO