"스프링부트 코어 프로퍼티"의 두 판 사이의 차이

8번째 줄: 8번째 줄:
!colspan='3'| 배너
!colspan='3'| 배너
|-
|-
| <code>banner.charset</code> || UTF-8 || 배너 파일 인코딩
| banner.charset || UTF-8 || 배너 파일 인코딩
|-
|-
| <code>banner.location</code> || classpath:banner.txt || 배너 파일 위치
| banner.location || classpath:banner.txt || 배너 파일 위치
|-
|-
!colspan='3'| 로깅
!colspan='3'| 로깅
|-
|-
| <code>logging.config</code> ||  || Location of the logging configuration file. For instance `classpath:logback.xml` for Logback
| logging.config ||  || Location of the logging configuration file. For instance `classpath:logback.xml` for Logback
|-
|-
| <code>logging.exception-conversion-word</code> ||  %wEx || Conversion word used when logging exceptions.
| logging.exception-conversion-word ||  %wEx || Conversion word used when logging exceptions.
|-
|-
| <code>logging.file</code> ||  || Log file name. For instance `myapp.log`
| logging.file ||  || Log file name. For instance `myapp.log`
|-
|-
| <code>logging.level.*</code> ||  || Log levels severity mapping. For instance `logging.level.org.springframework=DEBUG`
| logging.level.* ||  || Log levels severity mapping. For instance `logging.level.org.springframework=DEBUG`
|-
|-
| <code>logging.path</code> ||  || Location of the log file. For instance `/var/log`
| logging.path ||  || Location of the log file. For instance `/var/log`
|-
|-
| <code>logging.pattern.console</code> ||  || Appender pattern for output to the console. Only supported with the default logback setup.
| logging.pattern.console ||  || Appender pattern for output to the console. Only supported with the default logback setup.
|-
|-
| <code>logging.pattern.file</code> ||  || Appender pattern for output to the file. Only supported with the default logback setup.
| logging.pattern.file ||  || Appender pattern for output to the file. Only supported with the default logback setup.
|-
|-
| <code>logging.pattern.level</code> ||  || Appender pattern for log level (default %5p). Only supported with the default logback setup.
| logging.pattern.level ||  || Appender pattern for log level (default %5p). Only supported with the default logback setup.
|-
|-
| <code>logging.register-shutdown-hook</code> || FALSE || Register a shutdown hook for the logging system when it is initialized.
| logging.register-shutdown-hook || FALSE || Register a shutdown hook for the logging system when it is initialized.
|-
|-
!colspan='3'| AOP
!colspan='3'| AOP
|-
|-
| <code>spring.aop.auto</code> || TRUE || Add @EnableAspectJAutoProxy.
| spring.aop.auto || TRUE || Add @EnableAspectJAutoProxy.
|-
|-
| <code>spring.aop.proxy-target-class</code> || FALSE || Whether subclass-based (CGLIB) proxies are to be created (true) as opposed to standard Java interface-based proxies (false).
| spring.aop.proxy-target-class || FALSE || Whether subclass-based (CGLIB) proxies are to be created (true) as opposed to standard Java interface-based proxies (false).
|-
|-
!colspan='3'| IDENTITY<ref>ContextIdApplicationContextInitializer</ref>
!colspan='3'| IDENTITY<ref>ContextIdApplicationContextInitializer</ref>
|-
|-
| <code>spring.application.admin.enabled</code> || FALSE || Enable admin features for the application.
| spring.application.admin.enabled || FALSE || Enable admin features for the application.
|-
|-
| <code>spring.application.admin.jmx-name</code> || org.springframework.boot:type=Admin,name=SpringApplication || JMX name of the application admin MBean.
| spring.application.admin.jmx-name || org.springframework.boot:type=Admin,name=SpringApplication || JMX name of the application admin MBean.
|-
|-
!colspan='3'| ADMIN<ref>SpringApplicationAdminJmxAutoConfiguration</ref>
!colspan='3'| ADMIN<ref>SpringApplicationAdminJmxAutoConfiguration</ref>
|-
|-
| <code>spring.application.index</code> ||  || Application index.
| spring.application.index ||  || Application index.
|-
|-
| <code>spring.application.name</code> ||  || Application name.
| spring.application.name ||  || Application name.
|-
|-
!colspan='3'| 자동설정
!colspan='3'| 자동설정
|-
|-
| <code>spring.autoconfigure.exclude</code> ||  || Auto-configuration classes to exclude.
| spring.autoconfigure.exclude ||  || Auto-configuration classes to exclude.
|-
|-
!colspan='3'| 스프링 코어
!colspan='3'| 스프링 코어
|-
|-
| <code>spring.beaninfo.ignore</code> || TRUE || Skip search of BeanInfo classes.
| spring.beaninfo.ignore || TRUE || Skip search of BeanInfo classes.
|-
|-
!colspan='3'| 스프링 캐시<ref>CacheProperties</ref>
!colspan='3'| 스프링 캐시<ref>CacheProperties</ref>
|-
|-
| <code>spring.cache.cache-names</code> ||  || Comma-separated list of cache names to create if supported by the underlying cache manager.
| spring.cache.cache-names ||  || Comma-separated list of cache names to create if supported by the underlying cache manager.
|-
|-
| <code>spring.cache.ehcache.config</code> ||  || The location of the configuration file to use to initialize EhCache.
| spring.cache.ehcache.config ||  || The location of the configuration file to use to initialize EhCache.
|-
|-
| <code>spring.cache.guava.spec</code> ||  || The spec to use to create caches. Check CacheBuilderSpec for more details on the spec format.
| spring.cache.guava.spec ||  || The spec to use to create caches. Check CacheBuilderSpec for more details on the spec format.
|-
|-
| <code>spring.cache.hazelcast.config</code> ||  || The location of the configuration file to use to initialize Hazelcast.
| spring.cache.hazelcast.config ||  || The location of the configuration file to use to initialize Hazelcast.
|-
|-
| <code>spring.cache.infinispan.config</code> ||  || The location of the configuration file to use to initialize Infinispan.
| spring.cache.infinispan.config ||  || The location of the configuration file to use to initialize Infinispan.
|-
|-
| <code>spring.cache.jcache.config</code> ||  || The location of the configuration file to use to initialize the cache manager.
| spring.cache.jcache.config ||  || The location of the configuration file to use to initialize the cache manager.
|-
|-
| <code>spring.cache.jcache.provider</code> ||  || Fully qualified name of the CachingProvider implementation to use to retrieve the JSR-107 compliant cache manager. Only needed if more than one JSR-107 implementation is available on the classpath.
| spring.cache.jcache.provider ||  || Fully qualified name of the CachingProvider implementation to use to retrieve the JSR-107 compliant cache manager. Only needed if more than one JSR-107 implementation is available on the classpath.
|-
|-
| <code>spring.cache.type</code> ||  || Cache type, auto-detected according to the environment by default.
| spring.cache.type ||  || Cache type, auto-detected according to the environment by default.
|-
|-
!colspan='3'| 스프링 설정<ref>ConfigFileApplicationListener</ref>
!colspan='3'| 스프링 설정<ref>ConfigFileApplicationListener</ref>
|-
|-
| <code>spring.config.location</code> ||  || Config file locations.
| spring.config.location ||  || Config file locations.
|-
|-
| <code>spring.config.name</code> || application || Config file name.
| spring.config.name || application || Config file name.
|-
|-
!colspan='3'| HAZELCAST<ref>HazelcastProperties</ref>
!colspan='3'| HAZELCAST<ref>HazelcastProperties</ref>
|-
|-
| <code>spring.hazelcast.config</code> ||  || The location of the configuration file to use to initialize Hazelcast.
| spring.hazelcast.config ||  || The location of the configuration file to use to initialize Hazelcast.
|-
|-
!colspan='3'| JMX
!colspan='3'| JMX
|-
|-
| <code>spring.jmx.default-domain</code> ||  || JMX 도메인명
| spring.jmx.default-domain ||  || JMX 도메인명
|-
|-
| <code>spring.jmx.enabled</code> || TRUE || Expose management beans to the JMX domain.
| spring.jmx.enabled || TRUE || Expose management beans to the JMX domain.
|-
|-
| <code>spring.jmx.server</code> || mbeanServer || MBeanServer bean name.
| spring.jmx.server || mbeanServer || MBeanServer bean name.
|-
|-
!colspan='3'| 이메일<ref>MailProperties</ref>
!colspan='3'| 이메일<ref>MailProperties</ref>
|-
|-
| <code>spring.mail.default-encoding</code> || UTF-8 || Default MimeMessage encoding.
| spring.mail.default-encoding || UTF-8 || Default MimeMessage encoding.
|-
|-
| <code>spring.mail.host</code> ||  || SMTP server host. For instance `smtp.example.com`
| spring.mail.host ||  || SMTP server host. For instance `smtp.example.com`
|-
|-
| <code>spring.mail.jndi-name</code> ||  || Session JNDI name. When set, takes precedence to others mail settings.
| spring.mail.jndi-name ||  || Session JNDI name. When set, takes precedence to others mail settings.
|-
|-
| <code>spring.mail.password</code> ||  || Login password of the SMTP server.
| spring.mail.password ||  || Login password of the SMTP server.
|-
|-
| <code>spring.mail.port</code> ||  || SMTP server port.
| spring.mail.port ||  || SMTP server port.
|-
|-
| <code>spring.mail.properties.*</code> ||  || Additional JavaMail session properties.
| spring.mail.properties.* ||  || Additional JavaMail session properties.
|-
|-
| <code>spring.mail.protocol</code> || smtp || Protocol used by the SMTP server.
| spring.mail.protocol || smtp || Protocol used by the SMTP server.
|-
|-
| <code>spring.mail.test-connection</code> || FALSE || Test that the mail server is available on startup.
| spring.mail.test-connection || FALSE || Test that the mail server is available on startup.
|-
|-
| <code>spring.mail.username</code> ||  || Login user of the SMTP server.
| spring.mail.username ||  || Login user of the SMTP server.
|-
|-
!colspan='3'| 앱설정<ref>SpringApplication</ref>
!colspan='3'| 앱설정<ref>SpringApplication</ref>
|-
|-
| <code>spring.main.banner-mode</code> || console || Mode used to display the banner when the application runs.
| spring.main.banner-mode || console || Mode used to display the banner when the application runs.
|-
|-
| <code>spring.main.sources</code> ||  || Sources (class name, package name or XML resource location) to include in the ApplicationContext.
| spring.main.sources ||  || Sources (class name, package name or XML resource location) to include in the ApplicationContext.
|-
|-
| <code>spring.main.web-environment</code> ||  || Run the application in a web environment (auto-detected by default).
| spring.main.web-environment ||  || Run the application in a web environment (auto-detected by default).
|-
|-
!colspan='3'| 파일인코딩<ref>FileEncodingApplicationListener</ref>
!colspan='3'| 파일인코딩<ref>FileEncodingApplicationListener</ref>
|-
|-
| <code>spring.mandatory-file-encoding</code> ||  || Expected character encoding the application must use.
| spring.mandatory-file-encoding ||  || Expected character encoding the application must use.
|-
|-
!colspan='3'| 국제화<ref>MessageSourceAutoConfiguration</ref>
!colspan='3'| 국제화<ref>MessageSourceAutoConfiguration</ref>
|-
|-
| <code>spring.messages.basename</code> || messages || Comma-separated list of basenames, each following the ResourceBundle convention.
| spring.messages.basename || messages || Comma-separated list of basenames, each following the ResourceBundle convention.
|-
|-
| <code>spring.messages.cache-seconds</code> || -1 || Loaded resource bundle files cache expiration, in seconds. When set to -1, bundles are cached forever.
| spring.messages.cache-seconds || -1 || Loaded resource bundle files cache expiration, in seconds. When set to -1, bundles are cached forever.
|-
|-
| <code>spring.messages.encoding</code> || UTF-8 || Message bundles encoding.
| spring.messages.encoding || UTF-8 || Message bundles encoding.
|-
|-
| <code>spring.messages.fallback-to-system-locale</code> || TRUE || Set whether to fall back to the system Locale if no files for a specific Locale have been found.
| spring.messages.fallback-to-system-locale || TRUE || Set whether to fall back to the system Locale if no files for a specific Locale have been found.
|-
|-
!colspan='3'| 출력  
!colspan='3'| 출력  
|-
|-
| <code>spring.output.ansi.enabled</code> || detect || Configure the ANSI output (can be "detect", "always", "never").
| spring.output.ansi.enabled || detect || Configure the ANSI output (can be "detect", "always", "never").
|-
|-
!colspan='3'| PID파일<ref>ApplicationPidFileWriter</ref>
!colspan='3'| PID파일<ref>ApplicationPidFileWriter</ref>
|-
|-
| <code>spring.pid.fail-on-write-error</code> ||  || Fail if ApplicationPidFileWriter is used but it cannot write the PID file.
| spring.pid.fail-on-write-error ||  || Fail if ApplicationPidFileWriter is used but it cannot write the PID file.
|-
|-
| <code>spring.pid.file</code> ||  || Location of the PID file to write (if ApplicationPidFileWriter is used).
| spring.pid.file ||  || Location of the PID file to write (if ApplicationPidFileWriter is used).
|-
|-
!colspan='3'| 프로파일  
!colspan='3'| 프로파일  
|-
|-
| <code>spring.profiles.active</code> ||  || Comma-separated list of active profiles.
| spring.profiles.active ||  || Comma-separated list of active profiles.
|-
|-
| <code>spring.profiles.include</code> ||  || Unconditionally activate the specified comma separated profiles.
| spring.profiles.include ||  || Unconditionally activate the specified comma separated profiles.
|-
|-
!colspan='3'| SENDGRID<ref>SendGridAutoConfiguration</ref>
!colspan='3'| SENDGRID<ref>SendGridAutoConfiguration</ref>
|-
|-
| <code>spring.sendgrid.password</code> ||  || SendGrid account password
| spring.sendgrid.password ||  || SendGrid account password
|-
|-
| <code>spring.sendgrid.proxy.host</code> ||  || SendGrid proxy host
| spring.sendgrid.proxy.host ||  || SendGrid proxy host
|-
|-
| <code>spring.sendgrid.proxy.port</code> ||  || SendGrid proxy port
| spring.sendgrid.proxy.port ||  || SendGrid proxy port
|-
|-
| <code>spring.sendgrid.username</code> ||  || SendGrid account username
| spring.sendgrid.username ||  || SendGrid account username
|}
|}



2016년 7월 11일 (월) 13:55 판

스프링부트 CORE PROPERTIES
스프링부트 코어 프로퍼티

1 목록

변수 기본값 설명
배너
banner.charset UTF-8 배너 파일 인코딩
banner.location classpath:banner.txt 배너 파일 위치
로깅
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.
AOP
spring.aop.auto TRUE Add @EnableAspectJAutoProxy.
spring.aop.proxy-target-class FALSE Whether subclass-based (CGLIB) proxies are to be created (true) as opposed to standard Java interface-based proxies (false).
IDENTITY[1]
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.
ADMIN[2]
spring.application.index Application index.
spring.application.name Application name.
자동설정
spring.autoconfigure.exclude Auto-configuration classes to exclude.
스프링 코어
spring.beaninfo.ignore TRUE Skip search of BeanInfo classes.
스프링 캐시[3]
spring.cache.cache-names Comma-separated list of cache names to create if supported by the underlying cache manager.
spring.cache.ehcache.config The location of the configuration file to use to initialize EhCache.
spring.cache.guava.spec The spec to use to create caches. Check CacheBuilderSpec for more details on the spec format.
spring.cache.hazelcast.config The location of the configuration file to use to initialize Hazelcast.
spring.cache.infinispan.config The location of the configuration file to use to initialize Infinispan.
spring.cache.jcache.config The location of the configuration file to use to initialize the cache manager.
spring.cache.jcache.provider Fully qualified name of the CachingProvider implementation to use to retrieve the JSR-107 compliant cache manager. Only needed if more than one JSR-107 implementation is available on the classpath.
spring.cache.type Cache type, auto-detected according to the environment by default.
스프링 설정[4]
spring.config.location Config file locations.
spring.config.name application Config file name.
HAZELCAST[5]
spring.hazelcast.config The location of the configuration file to use to initialize Hazelcast.
JMX
spring.jmx.default-domain JMX 도메인명
spring.jmx.enabled TRUE Expose management beans to the JMX domain.
spring.jmx.server mbeanServer MBeanServer bean name.
이메일[6]
spring.mail.default-encoding UTF-8 Default MimeMessage encoding.
spring.mail.host SMTP server host. For instance `smtp.example.com`
spring.mail.jndi-name Session JNDI name. When set, takes precedence to others mail settings.
spring.mail.password Login password of the SMTP server.
spring.mail.port SMTP server port.
spring.mail.properties.* Additional JavaMail session properties.
spring.mail.protocol smtp Protocol used by the SMTP server.
spring.mail.test-connection FALSE Test that the mail server is available on startup.
spring.mail.username Login user of the SMTP server.
앱설정[7]
spring.main.banner-mode console Mode used to display the banner when the application runs.
spring.main.sources Sources (class name, package name or XML resource location) to include in the ApplicationContext.
spring.main.web-environment Run the application in a web environment (auto-detected by default).
파일인코딩[8]
spring.mandatory-file-encoding Expected character encoding the application must use.
국제화[9]
spring.messages.basename messages Comma-separated list of basenames, each following the ResourceBundle convention.
spring.messages.cache-seconds -1 Loaded resource bundle files cache expiration, in seconds. When set to -1, bundles are cached forever.
spring.messages.encoding UTF-8 Message bundles encoding.
spring.messages.fallback-to-system-locale TRUE Set whether to fall back to the system Locale if no files for a specific Locale have been found.
출력
spring.output.ansi.enabled detect Configure the ANSI output (can be "detect", "always", "never").
PID파일[10]
spring.pid.fail-on-write-error Fail if ApplicationPidFileWriter is used but it cannot write the PID file.
spring.pid.file Location of the PID file to write (if ApplicationPidFileWriter is used).
프로파일
spring.profiles.active Comma-separated list of active profiles.
spring.profiles.include Unconditionally activate the specified comma separated profiles.
SENDGRID[11]
spring.sendgrid.password SendGrid account password
spring.sendgrid.proxy.host SendGrid proxy host
spring.sendgrid.proxy.port SendGrid proxy port
spring.sendgrid.username SendGrid account username

2 같이 보기

3 참고 자료

  1. ContextIdApplicationContextInitializer
  2. SpringApplicationAdminJmxAutoConfiguration
  3. CacheProperties
  4. ConfigFileApplicationListener
  5. HazelcastProperties
  6. MailProperties
  7. SpringApplication
  8. FileEncodingApplicationListener
  9. MessageSourceAutoConfiguration
  10. ApplicationPidFileWriter
  11. SendGridAutoConfiguration
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}