deason 6 years ago
parent
commit
693e58152a

+ 1 - 2
src/main/resources/application-dev.properties

@@ -8,7 +8,7 @@ spring.freemarker.suffix=.ftl
 spring.http.multipart.max-file-size=50Mb
 spring.http.multipart.max-request-size=50Mb
 # logs config
-logging.file=logs/examcloud-app-api.txt
+logging.file=logs/debug.log
 logging.level.org.springframework=WARN
 logging.level.org.hibernate=WARN
 logging.level.org.apache=WARN
@@ -18,7 +18,6 @@ logging.level.cn.com.qmth=DEBUG
 spring.datasource.url=jdbc:mysql://192.168.10.30:3306/app_api?useUnicode=true&characterEncoding=utf-8&useSSL=false
 spring.datasource.username=root
 spring.datasource.password=root
-spring.datasource.driverClassName=com.mysql.jdbc.Driver
 spring.jpa.show-sql=false
 spring.jpa.hibernate.ddl-auto=update
 #redis config

+ 1 - 2
src/main/resources/application-prod.properties

@@ -8,7 +8,7 @@ spring.freemarker.suffix=.ftl
 spring.http.multipart.max-file-size=50Mb
 spring.http.multipart.max-request-size=50Mb
 # logs config
-logging.file=logs/examcloud-app-api.txt
+logging.file=logs/debug.log
 logging.level.org.springframework=WARN
 logging.level.org.hibernate=WARN
 logging.level.org.apache=WARN
@@ -18,7 +18,6 @@ logging.level.cn.com.qmth=DEBUG
 spring.datasource.url=jdbc:mysql://192.168.10.30:3306/app_api?useUnicode=true&characterEncoding=utf-8&useSSL=false
 spring.datasource.username=root
 spring.datasource.password=root
-spring.datasource.driverClassName=com.mysql.jdbc.Driver
 spring.jpa.show-sql=false
 spring.jpa.hibernate.ddl-auto=update
 #redis config

+ 1 - 2
src/main/resources/application-test.properties

@@ -8,7 +8,7 @@ spring.freemarker.suffix=.ftl
 spring.http.multipart.max-file-size=50Mb
 spring.http.multipart.max-request-size=50Mb
 # logs config
-logging.file=logs/examcloud-app-api.txt
+logging.file=logs/debug.log
 logging.level.org.springframework=WARN
 logging.level.org.hibernate=WARN
 logging.level.org.apache=WARN
@@ -18,7 +18,6 @@ logging.level.cn.com.qmth=DEBUG
 spring.datasource.url=jdbc:mysql://192.168.10.30:3306/app_api?useUnicode=true&characterEncoding=utf-8&useSSL=false
 spring.datasource.username=root
 spring.datasource.password=root
-spring.datasource.driverClassName=com.mysql.jdbc.Driver
 spring.jpa.show-sql=false
 spring.jpa.hibernate.ddl-auto=update
 #redis config