• SpringBoot常用应用属性配置表


    #=========================================
    #COMMON SPRING BOOT PROPERTIES
    #
    #This sample file is provided as a guideline. Do Not copy it in its entirety to your own application
    #=========================================
    
    #--------------------------------------------------------------------------
    #CORE PROPERTIES
    #--------------------------------------------------------------------------
    
    #BANNER
    banner.charset=UTF-8 #baner file encoding
    banner.location=classpath:banner.txt #banner file location
    
    #SPRING CONFIG(ConfigFileApplicationListener)
    spring.config.name = #config file name (default to 'application')
    spring.config.location = #location of config file
    
    #PROFILED
    spring.profiles.active= #comma list of active profiles
    spring.profiles.include= #unconditionally activate the specified comma separated profiles
    
    #APPLICATION SETTINGS (SpringApplication)
    spring.main.sources= #sources(class name,package name or XML resource location) to include
    spring.main.web-enviroment= # detect by default
    spring.main.show-banner=true
    spring.main....= #see class for all properties
    
    #ADMIN (SpringApplicationAdminJmxAutoConfiguraion)
    spring.application.admin.enabled=false #enable admin features for the application
    spring.application.admin.jmx-name=org.springframework.boot:type=Admin,name=SpringApplication #JMX name of the application admin MBean
    
    #OUTPUT
    spring.output.ansi.enabled=detect #Configure the ANSI output("detect","always","never")
    
    #LOGGING
    logging.path=/var/logs
    logging.file=myapp.log
    logging.config= # location of config file (default classpath:logback.xml for logback)
    logging.level.*= #levels for loggers,e.g. "logging.level.org.springframework=DEBUG"(TRACE,DEBUG,INFO,WARN,ERROR,FATAL,OFF)
    
    #IDENTITY(ContextIdApplicationContextInitializer)
    spring.application.name=
    spring.application.index=
    
    #EMBEDDED SERVER CONFIGURATION (ServerProperties)
    server.prot=8080
    server.address= #bind to a specific NIC
    server.context-parameters.*= #Servlet context init parameters,e.g."server.context-parameters.a=aplha"
    server.context-path= #
  • 相关阅读:
    快速排序理论---不含源码
    归并排序理论---不含源码
    希尔排序(shell)理论---不含源码
    Visual C++中error spawning cl.exe解决办法
    数据库的基础知识点---1
    冒泡排序的基础知识部分(不含源码)
    在虚拟机的Linux系统下安装wineqq
    数据变量的别名
    void*和void类型
    变量的作用域和连接性
  • 原文地址:https://www.cnblogs.com/InfField/p/9207272.html
Copyright © 2020-2023  润新知