首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
  • 您找到你想要的搜索结果了吗?
    是的
    没有找到

    什么是Spring Boot

    logging.config= # Location of the logging configuration file. For instance classpath:logback.xml for Logback logging.exception-conversion-word=%wEx # Conversion word used when logging exceptions. logging.file= # Log file name. For instance myapp.log logging.level.*= # Log levels severity mapping. For instance logging.level.org.springframework=DEBUG logging.path= # Location of the log file. For instance /var/log logging.pattern.console= # Appender pattern for output to the console. Only supported with the default logback setup. logging.pattern.file= # Appender pattern for output to the file. Only supported with the default logback setup. logging.pattern.level= # Appender pattern for log level (default %5p). Only supported with the default logback setup. logging.register-shutdown-hook=false # Register a shutdown hook for the logging system when it is initialized.

    05

    MBean与JMX源码分析

    JMX(java Management Exetensions)在Java编程语言中定义了应用程序以及网络管理和监控的体系结构、设计模式、应用程序接口以及服务。 通常使用JMX来监控系统的运行状态或管理系统的某些方面,比如清空缓存、重新加载配置文件等 优点是可以非常容易的使应用程序被管理 伸缩性的架构使每个JMX Agent Service可以很容易的放入到Agent中,每个JMX的实现都提供几个核心的Agent Service,你也可以自己编写服务,服务可以很容易的部署,取消部署。 主要作用是提供接口,允许有不同的实现 简单来说,jmx是一个用来管理javaBean并可以进行监控的扩展规范,结合MBeanServer、rmi与http等可以作为一个服务监控和提供中心

    02

    项目启动后失败,报Unregistering JMX-exposed beans on shutdown

    .   ____          _            __ _ _  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )   '  |____| .__|_| |_|_| |_\__, | / / / /  =========|_|==============|___/=/_/_/_/  :: Spring Boot ::        (v1.4.7.RELEASE) 2017-10-02 08:47:16.734  INFO 4048 --- [           main] c.e.demo.SpringBootTestApplication       : Starting SpringBootTestApplication on DESKTOP-7O0ES0O with PID 4048 (E:\stsWorkSpace\SpringBoot_Test\target\classes started by 柴火 in E:\stsWorkSpace\SpringBoot_Test) 2017-10-02 08:47:16.734  INFO 4048 --- [           main] c.e.demo.SpringBootTestApplication       : No active profile set, falling back to default profiles: default 2017-10-02 08:47:16.812  INFO 4048 --- [           main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@df27fae: startup date [Mon Oct 02 08:47:16 CST 2017]; root of context hierarchy 2017-10-02 08:47:17.890  INFO 4048 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup 2017-10-02 08:47:17.921  INFO 4048 --- [           main] c.e.demo.SpringBootTestApplication       : Started SpringBootTestApplication in 1.634 seconds (JVM running for 2.256) 2017-10-02 08:47:17.921  INFO 4048 --- [       Thread-1] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@df27fae: startup date [Mon Oct 02 08:47:16 CST 2017]; root of context hierarchy 2017-10-02 08:47:17.937  INFO 4048 --- [       Thread-1] o.s.j.e.a.AnnotationMBeanExporter        :Unregistering JMX-exposed beans on shutdown

    01

    扫码

    添加站长 进交流群

    领取专属 10元无门槛券

    手把手带您无忧上云

    扫码加入开发者社群

    热门标签

    活动推荐

      运营活动

      活动名称
      广告关闭
      领券