zoukankan      html  css  js  c++  java
  • 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= #
  • 相关阅读:
    PATA 1071 Speech Patterns.
    PATA 1027 Colors In Mars
    PATB 1038. 统计同成绩学生(20)
    1036. 跟奥巴马一起编程(15)
    PATA 1036. Boys vs Girls (25)
    PATA 1006. Sign In and Sign Out (25)
    读取web工程目录之外的图片并显示
    DOS命令
    java连接oracle集群
    servlet
  • 原文地址:https://www.cnblogs.com/yourGod/p/9207272.html
Copyright © 2011-2022 走看看