• Springboot启动日志分析


    //1、java启动参数
    "D:Program FilesJavajdk1.8.0_144injava.exe" -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always "-javaagent:C:Program FilesJetBrainsIntelliJ IDEA 2019.2.4libidea_rt.jar=58094:C:Program FilesJetBrainsIntelliJ IDEA 2019.2.4in" -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dfile.encoding=UTF-8 -classpath "D:Program FilesJavajdk1.8.0_144jrelibcharsets.jar;D:Program FilesJavajdk1.8.0_144jrelibdeploy.jar;D:Program FilesJavajdk1.8.0_144jrelibextaccess-bridge-64.jar;D:Program FilesJavajdk1.8.0_144jrelibextcldrdata.jar;D:Program FilesJavajdk1.8.0_144jrelibextdnsns.jar;D:Program FilesJavajdk1.8.0_144jrelibextjaccess.jar;D:Program FilesJavajdk1.8.0_144jrelibextjfxrt.jar;D:Program FilesJavajdk1.8.0_144jrelibextlocaledata.jar;D:Program FilesJavajdk1.8.0_144jrelibext
    ashorn.jar;D:Program FilesJavajdk1.8.0_144jrelibextsunec.jar;D:Program FilesJavajdk1.8.0_144jrelibextsunjce_provider.jar;D:Program FilesJavajdk1.8.0_144jrelibextsunmscapi.jar;D:Program FilesJavajdk1.8.0_144jrelibextsunpkcs11.jar;D:Program FilesJavajdk1.8.0_144jrelibextzipfs.jar;D:Program FilesJavajdk1.8.0_144jrelibjavaws.jar;D:Program FilesJavajdk1.8.0_144jrelibjce.jar;D:Program FilesJavajdk1.8.0_144jrelibjfr.jar;D:Program FilesJavajdk1.8.0_144jrelibjfxswt.jar;D:Program FilesJavajdk1.8.0_144jrelibjsse.jar;D:Program FilesJavajdk1.8.0_144jrelibmanagement-agent.jar;D:Program FilesJavajdk1.8.0_144jrelibplugin.jar;D:Program FilesJavajdk1.8.0_144jrelib
    esources.jar;D:Program FilesJavajdk1.8.0_144jrelib
    t.jar;D:gitspacespringbootdemo	argetclasses;C:UsersAdministrator.m2
    epositoryorgspringframeworkootspring-boot-starter-amqp2.5.0spring-boot-starter-amqp-2.5.0.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkootspring-boot-starter2.5.0spring-boot-starter-2.5.0.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkootspring-boot-starter-logging2.5.0spring-boot-starter-logging-2.5.0.jar;C:UsersAdministrator.m2
    epositorychqoslogbacklogback-classic1.2.3logback-classic-1.2.3.jar;C:UsersAdministrator.m2
    epositorychqoslogbacklogback-core1.2.3logback-core-1.2.3.jar;C:UsersAdministrator.m2
    epositoryorgapachelogginglog4jlog4j-to-slf4j2.14.1log4j-to-slf4j-2.14.1.jar;C:UsersAdministrator.m2
    epositoryorgapachelogginglog4jlog4j-api2.14.1log4j-api-2.14.1.jar;C:UsersAdministrator.m2
    epositoryorgslf4jjul-to-slf4j1.7.30jul-to-slf4j-1.7.30.jar;C:UsersAdministrator.m2
    epositoryjakartaannotationjakarta.annotation-api1.3.5jakarta.annotation-api-1.3.5.jar;C:UsersAdministrator.m2
    epositoryorgyamlsnakeyaml1.28snakeyaml-1.28.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkspring-messaging5.3.7spring-messaging-5.3.7.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkspring-beans5.3.7spring-beans-5.3.7.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkamqpspring-rabbit2.3.7spring-rabbit-2.3.7.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkamqpspring-amqp2.3.7spring-amqp-2.3.7.jar;C:UsersAdministrator.m2
    epositoryorgspringframework
    etryspring-retry1.3.1spring-retry-1.3.1.jar;C:UsersAdministrator.m2
    epositoryjavaxannotationjavax.annotation-api1.3.2javax.annotation-api-1.3.2.jar;C:UsersAdministrator.m2
    epositorycom
    abbitmqamqp-client5.12.0amqp-client-5.12.0.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkspring-context5.3.7spring-context-5.3.7.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkspring-tx5.3.7spring-tx-5.3.7.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkootspring-boot-starter-data-redis2.5.0spring-boot-starter-data-redis-2.5.0.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkdataspring-data-redis2.5.1spring-data-redis-2.5.1.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkdataspring-data-keyvalue2.5.1spring-data-keyvalue-2.5.1.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkdataspring-data-commons2.5.1spring-data-commons-2.5.1.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkspring-oxm5.3.7spring-oxm-5.3.7.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkspring-aop5.3.7spring-aop-5.3.7.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkspring-context-support5.3.7spring-context-support-5.3.7.jar;C:UsersAdministrator.m2
    epositoryorgslf4jslf4j-api1.7.30slf4j-api-1.7.30.jar;C:UsersAdministrator.m2
    epositoryiolettucelettuce-core6.1.2.RELEASElettuce-core-6.1.2.RELEASE.jar;C:UsersAdministrator.m2
    epositoryio
    etty
    etty-common4.1.65.Final
    etty-common-4.1.65.Final.jar;C:UsersAdministrator.m2
    epositoryio
    etty
    etty-handler4.1.65.Final
    etty-handler-4.1.65.Final.jar;C:UsersAdministrator.m2
    epositoryio
    etty
    etty-resolver4.1.65.Final
    etty-resolver-4.1.65.Final.jar;C:UsersAdministrator.m2
    epositoryio
    etty
    etty-buffer4.1.65.Final
    etty-buffer-4.1.65.Final.jar;C:UsersAdministrator.m2
    epositoryio
    etty
    etty-codec4.1.65.Final
    etty-codec-4.1.65.Final.jar;C:UsersAdministrator.m2
    epositoryio
    etty
    etty-transport4.1.65.Final
    etty-transport-4.1.65.Final.jar;C:UsersAdministrator.m2
    epositoryioprojectreactor
    eactor-core3.4.6
    eactor-core-3.4.6.jar;C:UsersAdministrator.m2
    epositoryorg
    eactivestreams
    eactive-streams1.0.3
    eactive-streams-1.0.3.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkootspring-boot-starter-thymeleaf2.5.0spring-boot-starter-thymeleaf-2.5.0.jar;C:UsersAdministrator.m2
    epositoryorg	hymeleaf	hymeleaf-spring53.0.12.RELEASE	hymeleaf-spring5-3.0.12.RELEASE.jar;C:UsersAdministrator.m2
    epositoryorg	hymeleaf	hymeleaf3.0.12.RELEASE	hymeleaf-3.0.12.RELEASE.jar;C:UsersAdministrator.m2
    epositoryorgattoparserattoparser2.0.5.RELEASEattoparser-2.0.5.RELEASE.jar;C:UsersAdministrator.m2
    epositoryorgunbescapeunbescape1.1.6.RELEASEunbescape-1.1.6.RELEASE.jar;C:UsersAdministrator.m2
    epositoryorg	hymeleafextras	hymeleaf-extras-java8time3.0.4.RELEASE	hymeleaf-extras-java8time-3.0.4.RELEASE.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkootspring-boot-starter-web2.5.0spring-boot-starter-web-2.5.0.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkootspring-boot-starter-json2.5.0spring-boot-starter-json-2.5.0.jar;C:UsersAdministrator.m2
    epositorycomfasterxmljacksoncorejackson-databind2.12.3jackson-databind-2.12.3.jar;C:UsersAdministrator.m2
    epositorycomfasterxmljacksoncorejackson-annotations2.12.3jackson-annotations-2.12.3.jar;C:UsersAdministrator.m2
    epositorycomfasterxmljacksoncorejackson-core2.12.3jackson-core-2.12.3.jar;C:UsersAdministrator.m2
    epositorycomfasterxmljacksondatatypejackson-datatype-jdk82.12.3jackson-datatype-jdk8-2.12.3.jar;C:UsersAdministrator.m2
    epositorycomfasterxmljacksondatatypejackson-datatype-jsr3102.12.3jackson-datatype-jsr310-2.12.3.jar;C:UsersAdministrator.m2
    epositorycomfasterxmljacksonmodulejackson-module-parameter-names2.12.3jackson-module-parameter-names-2.12.3.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkootspring-boot-starter-tomcat2.5.0spring-boot-starter-tomcat-2.5.0.jar;C:UsersAdministrator.m2
    epositoryorgapache	omcatembed	omcat-embed-core9.0.46	omcat-embed-core-9.0.46.jar;C:UsersAdministrator.m2
    epositoryorgapache	omcatembed	omcat-embed-el9.0.46	omcat-embed-el-9.0.46.jar;C:UsersAdministrator.m2
    epositoryorgapache	omcatembed	omcat-embed-websocket9.0.46	omcat-embed-websocket-9.0.46.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkspring-web5.3.7spring-web-5.3.7.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkspring-webmvc5.3.7spring-webmvc-5.3.7.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkspring-expression5.3.7spring-expression-5.3.7.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkootspring-boot-devtools2.5.0spring-boot-devtools-2.5.0.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkootspring-boot2.5.0spring-boot-2.5.0.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkootspring-boot-autoconfigure2.5.0spring-boot-autoconfigure-2.5.0.jar;C:UsersAdministrator.m2
    epositorymysqlmysql-connector-java8.0.25mysql-connector-java-8.0.25.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkootspring-boot-configuration-processor2.5.0spring-boot-configuration-processor-2.5.0.jar;C:UsersAdministrator.m2
    epositoryorgprojectlomboklombok1.18.20lombok-1.18.20.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkspring-core5.3.7spring-core-5.3.7.jar;C:UsersAdministrator.m2
    epositoryorgspringframeworkspring-jcl5.3.7spring-jcl-5.3.7.jar" com.example.springbootdemo.SpringbootdemoApplication
    //2、Spring启动图标
      .   ____          _            __ _ _
     /\ / ___'_ __ _ _(_)_ __  __ _    
    ( ( )\___ | '_ | '_| | '_ / _` |    
     \/  ___)| |_)| | | | | || (_| |  ) ) ) )
      '  |____| .__|_| |_|_| |_\__, | / / / /
     =========|_|==============|___/=/_/_/_/
     :: Spring Boot ::                (v2.5.0)
    //3、启动App
    2021-06-06 21:56:11.423  INFO 15996 --- [  restartedMain] c.e.s.SpringbootdemoApplication          : Starting SpringbootdemoApplication using Java 1.8.0_144 on NEOUJI1ONTOUC9Z with PID 15996 (D:gitspacespringbootdemo	argetclasses started by Administrator in D:gitspacespringbootdemo)
    //4、查找激活的环境文件,此处没有设置
    2021-06-06 21:56:11.426  INFO 15996 --- [  restartedMain] c.e.s.SpringbootdemoApplication          : No active profile set, falling back to default profiles: default
    //开发工具库激活,此处未设置
    2021-06-06 21:56:11.504  INFO 15996 --- [  restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
    //设置log级别为DEBUG
    2021-06-06 21:56:11.505  INFO 15996 --- [  restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
    //找到多个Spring数据模块,进入严格的存储库配置模式!不知道这个是啥
    2021-06-06 21:56:11.991  INFO 15996 --- [  restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
    //引导spring-redis的启动模式为默认模式(因为我这个项目里加入了spring-redis的模块,所以会有这个)
    2021-06-06 21:56:11.993  INFO 15996 --- [  restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
    //4ms完成扫描,没扫到redis的接口,废话,我就是加入了这个模块,啥也没做呢,肯定扫不到任何有关redis的内容
    2021-06-06 21:56:12.007  INFO 15996 --- [  restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 4 ms. Found 0 Redis repository interfaces.
    //Tomcat开始初始化,端口为8080
    2021-06-06 21:56:12.377  INFO 15996 --- [  restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8080 (http)
    //启动Tomcat的服务(应该是Catalina服务)
    2021-06-06 21:56:12.384  INFO 15996 --- [  restartedMain] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
    //启动servlet引擎
    2021-06-06 21:56:12.384  INFO 15996 --- [  restartedMain] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.46]
    //初始化Spring内置的web上下文
    2021-06-06 21:56:12.448  INFO 15996 --- [  restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
    //根路径下的web上下文初始化完成,942毫秒
    2021-06-06 21:56:12.448  INFO 15996 --- [  restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 942 ms
    //警告:未找到静态资源模板,让我检查我的Thymeleaf配置或者增加一些模板文件
    2021-06-06 21:56:12.721  WARN 15996 --- [  restartedMain] ion$DefaultTemplateResolverConfiguration : Cannot find template location: classpath:/templates/ (please add some templates or check your Thymeleaf configuration)
    //LiveReload服务器正在端口35729上运行,这个LiveReload是个啥?
    2021-06-06 21:56:13.436  INFO 15996 --- [  restartedMain] o.s.b.d.a.OptionalLiveReloadServer       : LiveReload server is running on port 35729
    //tomcat服务启动了,监听8080端口,上下文的根路径没有,这个路径应该是项目名,因为就一个项目,所以这个路径被省略了??
    2021-06-06 21:56:13.496  INFO 15996 --- [  restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path ''
    //我的项目名是SpringbootdemoApplication ,这个项目在2.586秒内启动了,JVM运行时间是4.431秒??
    2021-06-06 21:56:13.505  INFO 15996 --- [  restartedMain] c.e.s.SpringbootdemoApplication          : Started SpringbootdemoApplication in 2.586 seconds (JVM running for 4.431)
    //应用程序可用性状态 活动状态 已更改为正确
    2021-06-06 21:56:13.507  INFO 15996 --- [  restartedMain] o.s.b.a.ApplicationAvailabilityBean      : Application availability state LivenessState changed to CORRECT
    //应用程序可用性状态 可读状态 已更改为接收流量(也就是说现在可以通过浏览器放松请求过来了)
    2021-06-06 21:56:13.508  INFO 15996 --- [  restartedMain] o.s.b.a.ApplicationAvailabilityBean      : Application availability state ReadinessState changed to ACCEPTING_TRAFFIC
    
    
  • 相关阅读:
    var、let、const
    面向女朋友自我介绍
    ES6——class
    一个错误引发的——对异步回调与for循环(小白错误,大神勿进)
    关于this
    关于作用域
    HTML5 8
    HTML5 7
    HTML5 6
    HTML5 4
  • 原文地址:https://www.cnblogs.com/dhu121/p/14860793.html
Copyright © 2020-2023  润新知