From 97bd6f83286e1978890e588349a194c7efb957f2 Mon Sep 17 00:00:00 2001 From: trang Date: Thu, 13 Jul 2017 11:36:39 +0800 Subject: [PATCH] samples --- druid-spring-boot-samples/pom.xml | 13 ++++++++++--- .../src/main/resources/application.yml | 6 +++--- 2 files changed, 13 insertions(+), 6 deletions(-) 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: