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

fa.jraft-test.1.3.15.source-code.log4j2.xml Maven / Gradle / Ivy

There is a newer version: 1.3.15.bugfix
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
 
	<Appenders>
		<Console name="Console" target="SYSTEM_OUT">
			<PatternLayout pattern="%d{YYYY-MM-dd HH:mm:ss} [%t] %-5p %c{1}:%L - %msg%n" />
		</Console>
 
		<RollingFile name="RollingFile" filename="log/jraft-example.log"
			filepattern="log/%d{YYYYMMddHHmmss}-jraft-example.log">
			<PatternLayout pattern="%d{YYYY-MM-dd HH:mm:ss} [%t] %-5p %c{1}:%L - %msg%n" />
			<Policies>
				<SizeBasedTriggeringPolicy size="100 MB" />
			</Policies>
			<DefaultRolloverStrategy max="20" />
		</RollingFile>
 
	</Appenders>
	<Loggers>
		<Root level="info">
			<AppenderRef ref="Console" />
			<AppenderRef ref="RollingFile" />
		</Root>
	</Loggers>
</Configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy