属性名不能是is开头,例如isLog属性,你在配置文件中不管怎么给这个属性设值都不会生效,只需改成log即可。
我使用的版本:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.6.RELEASE</version>
<relativePath/>
</parent>
属性名不能是is开头,例如isLog属性,你在配置文件中不管怎么给这个属性设值都不会生效,只需改成log即可。
我使用的版本:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.6.RELEASE</version>
<relativePath/>
</parent>