关闭启动信息记录
作者:互联网
spring.main.log-startup-info=true
可以继承SpringApplication类并实现logStartupInfo来记录其他日志信息
@SpringBootApplication public class MeraspringApplication { public static void main(String[] args) { myApplication.run(MeraspringApplication.class, args); } } class myApplication extends SpringApplication{ public void logStartupInfo(boolean flag){ } }
标签:启动,void,记录,public,myApplication,关闭,MeraspringApplication,main,class 来源: https://www.cnblogs.com/abuduri/p/13377312.html