Преглед на файлове

mybatis日志

Signed-off-by: zhangxiaomu <zhangxiaomu@dongkesoft.com>
zhangxiaomu преди 2 години
родител
ревизия
d48ebebd60
променени са 3 файла, в които са добавени 6 реда и са изтрити 3 реда
  1. 2 1
      src/main/resources/dev/bootstrap.yml
  2. 2 1
      src/main/resources/st/bootstrap.yml
  3. 2 1
      src/main/resources/test/bootstrap.yml

+ 2 - 1
src/main/resources/dev/bootstrap.yml

@@ -79,7 +79,8 @@ feign:
 
 mybatis-plus:
   configuration:
-    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+    log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
     map-underscore-to-camel-case: true
   type-aliases-package: com.dk.oauth.dto,com.dk.common.infrastructure.handler #类型转换器包名
   mapper-locations: classpath:/mapper/**/*Mapper.xml,com/hegii/scrm/common/mapper/opinfo/*.xml

+ 2 - 1
src/main/resources/st/bootstrap.yml

@@ -78,7 +78,8 @@ feign:
 
 mybatis-plus:
   configuration:
-    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+    log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
     map-underscore-to-camel-case: true
   type-aliases-package: com.dk.oauth.dto,com.dk.common.infrastructure.handler #类型转换器包名
   mapper-locations: classpath:/mapper/**/*Mapper.xml,com/hegii/scrm/common/mapper/opinfo/*.xml

+ 2 - 1
src/main/resources/test/bootstrap.yml

@@ -80,7 +80,8 @@ feign:
 
 mybatis-plus:
   configuration:
-    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+    log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
     map-underscore-to-camel-case: true
   type-aliases-package: com.dk.oauth.dto,com.dk.common.infrastructure.handler #类型转换器包名
   mapper-locations: classpath:/mapper/**/*Mapper.xml,com/hegii/scrm/common/mapper/opinfo/*.xml