diff --git a/druid-spring-boot-samples/pom.xml b/druid-spring-boot-samples/pom.xml
index d94d1a8..906face 100644
--- a/druid-spring-boot-samples/pom.xml
+++ b/druid-spring-boot-samples/pom.xml
@@ -22,6 +22,16 @@
pom
import
+
+ com.github.drtrang
+ druid-spring-boot-starter
+ ${project.version}
+
+
+ org.mybatis.spring.boot
+ mybatis-spring-boot-starter
+ RELEASE
+
@@ -37,17 +47,14 @@
org.mybatis.spring.boot
mybatis-spring-boot-starter
- RELEASE
com.github.drtrang
druid-spring-boot-starter
- ${project.version}
org.springframework.boot
spring-boot-starter-test
- test
com.h2database
diff --git a/druid-spring-boot-samples/src/main/resources/application.yml b/druid-spring-boot-samples/src/main/resources/application.yml
index cba051b..a4d04ea 100644
--- a/druid-spring-boot-samples/src/main/resources/application.yml
+++ b/druid-spring-boot-samples/src/main/resources/application.yml
@@ -33,7 +33,7 @@ spring:
slow-sql-millis: 1000
merge-sql: true
slf4j:
- enabled: false
+ enabled: true
connection-log-enabled: false
connection-log-error-enabled: true
statement-log-enabled: false
@@ -43,12 +43,12 @@ spring:
result-set-log-enabled: false
result-set-log-error-enabled: true
wall:
- enabled: false
+ enabled: true
db-type: h2
log-violation: true
throw-exception: false
aop-stat:
- enabled: true
+ enabled: false
patterns:
- com.github.trang.*
web-stat: