Spring Boot启动后没有打印端口号

[已解决]Spring Boot项目启动日志最后几行中没有打印端口号的问题。

如果项目启动没有报错,说明项目肯定停留在某个端口上,所以,没有打印端口号是一个假象。真像是端口号已经早早打印,只是被后来的日志蒙蔽了双眼,当然也有可能是手动调高了日志级别所致。

11:39:38.030 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'multipartResolver'
11:39:38.040 [main] DEBUG o.s.c.s.DefaultLifecycleProcessor - Starting beans in phase 2147483646
11:39:38.040 [main] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8183"]
11:39:38.063 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8080 (http) with context path '/om'
11:39:38.063 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8080 (http) with context path '/blog'
11:39:38.064 [main] DEBUG o.s.c.s.DefaultLifecycleProcessor - Successfully started bean 'webServerStartStop'
11:39:38.064 [main] DEBUG o.s.c.s.DefaultLifecycleProcessor - Starting beans in phase 2147483647
11:39:38.064 [main] DEBUG o.s.c.s.DefaultLifecycleProcessor - Successfully started bean 'webServerGracefulShutdown'
11:39:38.088 [main] DEBUG o.s.b.a.l.ConditionEvaluationReportLoggingListener - 

后半部分:

============================
CONDITIONS EVALUATION REPORT
============================
Unconditional classes:
----------------------

  org.springframework.boot.autoconfigure.context.ConfigurationPropertiesAutoConfiguration

  org.springframework.boot.autoconfigure.context.LifecycleAutoConfiguration

  org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration

  org.springframework.boot.autoconfigure.availability.ApplicationAvailabilityAutoConfiguration

  org.springframework.boot.autoconfigure.info.ProjectInfoAutoConfiguration



11:39:38.101 [main] INFO com.xieyonghui.blog.Application - Started Application in 3.153 seconds (JVM running for 3.768)


Positive matches:
-----------------