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

resources.WebContent.WEB-INF.log4j2.xml Maven / Gradle / Ivy

There is a newer version: 1.0.3
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
	<Appenders>
		<Console name="STDOUT" target="SYSTEM_OUT">
			<PatternLayout pattern="[%d{dd/MM/yy hh:mm:ss:sss z}] %5p %c{2}: %m%n"/>		
		</Console>	
		<File name="File" fileName="${web:rootDir}/logs/shr.log">
			<PatternLayout pattern="[%d{dd/MM/yy hh:mm:ss:sss z}] %5p %c{2}: %m%n"/>		
		</File>
	    <Async name="ASYNC">
	      <AppenderRef ref="STDOUT"/>
	      <AppenderRef ref="File"/>
	    </Async>	
	</Appenders>
	<Loggers>
	    <Logger name="org.hibernate.SQL" level="debug">
	    </Logger>
	    
	    <Logger name="org.hibernate.type" level="trace">
	    </Logger>
	    <Root level="info">
	      <AppenderRef ref="File"/>
	    </Root>
	</Loggers>
</Configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy