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

nerator.generator-bash.3.1.0.source-code.logback.xml Maven / Gradle / Ivy

There is a newer version: 5.0.0-M2
Show newest version
<configuration>

	<property resource="generator.properties" />

	<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
		<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
			<pattern>
				[%d{yyyy-MM-dd HH:mm:ss.SSS}][%-5level] %msg%n
			</pattern>
		</encoder>
	</appender>
	
	<!--Daily rolling file appender -->
	<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
		<File>/tmp/log/generator.log</File>
		<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
			<FileNamePattern>/tmp/log/generator.%d{yyyy-MM-dd}.log
			</FileNamePattern>
			<maxHistory>30</maxHistory>
		</rollingPolicy>
		<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
			<pattern>
				[%d{yyyy-MM-dd HH:mm:ss.SSS}][%-5level] %msg%n
			</pattern>
		</encoder>
	</appender>
	
	
	<logger name="org.sklsft.generator" level="${logLevel}">
		<appender-ref ref="STDOUT" />
		<appender-ref ref="FILE" />
	</logger>
	
	<root level="ERROR">
		<appender-ref ref="FILE" />
	</root>
</configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy