我将 spring boot 应用程序部署为 Windows 服务。尝试启动服务时,它因错误而停止。我知道错误原因,但我想在日志中查看它。 在日志输出中,消息正下方。
2023-04-12/16:05:41.916 boot.StartupInfoLogger DEBUG Running with Spring Boot v2.7.8, Spring v5.3.25
2023-04-12/16:05:41.917 boot.SpringApplication INFO The following 1 profile is active: "test"