www.pudn.com > snmp-blog-master.zip > log4j.xml, change:2016-01-15,size:767b


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration PUBLIC "-//LOGGER" "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="%-5p: %c - %m%n" />
		</layout>
	</appender>


	<!-- Application Loggers -->
	<logger name="com.jayway.snmpblogg">
		<level value="debug" />
	</logger>

	<!-- 3rdparty Loggers -->
	<logger name="org.snmp4j">
		<level value="warn" />
	</logger>

	<!-- Root Logger -->
	<root>
		<priority value="debug" />
		<appender-ref ref="console" />
	</root>

</log4j:configuration>