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

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

<?xml version="1.0" encoding="UTF-8"?>
<configuration>

	<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
		<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
			<level>ERROR</level>
		</filter>
		<encoder>
			<pattern>%d %-5p [%c] %m%n</pattern>
		</encoder>
	</appender>
	
	<appender name="file"
		class="ch.qos.logback.core.rolling.RollingFileAppender">
		<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
			<level>info</level>
		</filter>
		<file>${catalina.base}/logs/kraken.log</file>
		<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
			<fileNamePattern>${catalina.base}/logs/kraken.log.%d{yyyy-MM-dd}</fileNamePattern>
		</rollingPolicy>
		<encoder>
			<pattern>%d %-5p [%c] %m%n</pattern>
		</encoder>
	</appender>

	<appender name="stash-file"
		class="ch.qos.logback.core.rolling.RollingFileAppender">
		<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
			<level>info</level>
		</filter>
		<file>${catalina.base}/logs/kraken.stash.log</file>
		<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
			<fileNamePattern>${catalina.base}/logs/kraken.stash.log.%d{yyyy-MM-dd}</fileNamePattern>
		</rollingPolicy>
		<encoder class="net.logstash.logback.encoder.LogstashEncoder" />
	</appender>

	<root level="info">
		<appender-ref ref="file" />
		<appender-ref ref="STDOUT" />
		<appender-ref ref="stash-file" />
	</root>
	
</configuration>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy