All Downloads are FREE. Search and download functionalities are using the official Maven repository.

t.bouquet-core.4.2.0.source-code.log4j.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd" >
<log4j:configuration>
	<appender name="stdout" class="org.apache.log4j.ConsoleAppender">
		<param name="Threshold" value="FATAL" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{ABSOLUTE} %5p %c{1}:%L - %m%n"/>
		</layout>
	</appender>
	
	<!-- A time/date based rolling appender -->
	<appender name="FILE"
		class="org.apache.log4j.DailyRollingFileAppender">
		<param name="Append" value="true" />
		<param name="Threshold" value="DEBUG" />
		<param name="File" value="${catalina.base}/logs/kraken.log"></param>
		<!-- Rollover at midnight each day -->
		<param name="DatePattern" value="'.'yyyy-MM-dd" />

		<layout class="org.apache.log4j.PatternLayout">
			<!-- The default pattern: Date Priority [Category] Message\n -->
			<param name="ConversionPattern" value="%d %-5p [%c] %m%n" />
		</layout>
	</appender>
	
	<root>
		<priority value="info"></priority>
		<appender-ref ref="stdout"/>
		<appender-ref ref="FILE"/>
	</root>
</log4j:configuration>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy