Configuration

logback.xml:

define your log level

logback.xml

 
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
	<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
		<layout class="ch.qos.logback.classic.PatternLayout">
			<Pattern>
				%d{HH:mm:ss} [%thread] %-5level %logger{36} # %method [%line] - %msg%n
			</Pattern>
		</layout>
	</appender>


	<logger name="org.hibernate" level="OFF" />
	<logger name="org.mybatis" level="OFF" />
	<logger name="org.thymeleaf" level="OFF" />
	<logger name="org.springframework" level="OFF" />
	<logger name="org.springframework.data" level="OFF" />
	<logger name="org.springframework.security" level="OFF" />
	<logger name="com.u2ware.springfield" level="OFF" />

	<logger name="com.u2ware.springfield.sample" level="DEBUG" />

	<root level="OFF">
		<appender-ref ref="STDOUT" />
	</root>
	
</configuration>