添加 spring-boot-devtools 配置
This commit is contained in:
@@ -142,6 +142,13 @@
|
||||
<artifactId>logstash-logback-encoder</artifactId>
|
||||
<version>${logstash-logback.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- 热部署工具 -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-devtools</artifactId>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
|
||||
@@ -102,6 +102,11 @@ spring:
|
||||
main:
|
||||
bannerMode: "off"
|
||||
|
||||
# 热部署工具
|
||||
devtools:
|
||||
restart:
|
||||
additional-exclude: "**/*.log"
|
||||
|
||||
# 日志配置(fatal、error、warn、info、debug)
|
||||
logging:
|
||||
config: classpath:config/logback-spring.xml
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
<!-- <logger name="org.springframework.transaction.support.TransactionSynchronizationManager" level="TRACE" /> -->
|
||||
<logger name="org.springframework.web.servlet.PageNotFound" level="ERROR" />
|
||||
<logger name="org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker" level="ERROR" />
|
||||
<logger name="org.springframework.boot.devtools" level="DEBUG" />
|
||||
|
||||
<logger name="springfox.documentation.spring.web.readers.parameter.ParameterDataTypeReader" level="ERROR" />
|
||||
<logger name="springfox.documentation.schema.property.CachingModelPropertiesProvider" level="ERROR" />
|
||||
|
||||
Reference in New Issue
Block a user