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

6번째 줄: 6번째 줄:
! 종류 !! 변수 !! 기본값 !! 설명
! 종류 !! 변수 !! 기본값 !! 설명
|-
|-
| 배너 || banner.charset || UTF-8 || Banner file encoding.
| 배너 || <code>banner.charset</code> || UTF-8 || Banner file encoding.
|-
|-
| 배너 || banner.location || classpath:banner.txt || Banner file location.
| 배너 || <code>banner.location</code> || classpath:banner.txt || Banner file location.
|-
|-
| 로깅 || logging.config ||  || Location of the logging configuration file. For instance `classpath:logback.xml` for Logback
| 로깅 || <code>logging.config</code> ||  || Location of the logging configuration file. For instance `classpath:logback.xml` for Logback
|-
|-
| 로깅 || logging.exception-conversion-word || %wEx || Conversion word used when logging exceptions.
| 로깅 || <code>logging.exception-conversion-word</code> ||  %wEx || Conversion word used when logging exceptions.
|-
|-
| 로깅 || logging.file ||  || Log file name. For instance `myapp.log`
| 로깅 || <code>logging.file</code> ||  || Log file name. For instance `myapp.log`
|-
|-
| 로깅 || logging.level.* ||  || Log levels severity mapping. For instance `logging.level.org.springframework=DEBUG`
| 로깅 || <code>logging.level.*</code> ||  || Log levels severity mapping. For instance `logging.level.org.springframework=DEBUG`
|-
|-
| 로깅 || logging.path ||  || Location of the log file. For instance `/var/log`
| 로깅 || <code>logging.path</code> ||  || 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.
| 로깅 || <code>logging.pattern.console</code> ||  || 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.
| 로깅 || <code>logging.pattern.file</code> ||  || 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.
| 로깅 || <code>logging.pattern.level</code> ||  || 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.
| 로깅 || <code>logging.register-shutdown-hook</code> || FALSE || Register a shutdown hook for the logging system when it is initialized.
|-
|-
| AOP || spring.aop.auto || true || Add @EnableAspectJAutoProxy.
| AOP || <code>spring.aop.auto</code> || TRUE || Add @EnableAspectJAutoProxy.
|-
|-
| AOP || 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).
| AOP || <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).
|-
|-
| IDENTITY<ref>ContextIdApplicationContextInitializer</ref> || spring.application.admin.enabled || false || Enable admin features for the application.
| IDENTITY[1] || <code>spring.application.admin.enabled</code> || FALSE || Enable admin features for the application.
|-
|-
| IDENTITY || spring.application.admin.jmx-name || org.springframework.boot:type=Admin,name=SpringApplication || JMX name of the application admin MBean.
| IDENTITY || <code>spring.application.admin.jmx-name</code> || org.springframework.boot:type=Admin,name=SpringApplication || JMX name of the application admin MBean.
|-
|-
| ADMIN<ref>SpringApplicationAdminJmxAutoConfiguration</ref> || spring.application.index ||  || Application index.
| ADMIN[2] || <code>spring.application.index</code> ||  || Application index.
|-
|-
| ADMIN || spring.application.name ||  || Application name.
| ADMIN || <code>spring.application.name</code> ||  || Application name.
|-
|-
| 자동설정 || spring.autoconfigure.exclude ||  || Auto-configuration classes to exclude.
| 자동설정 || <code>spring.autoconfigure.exclude</code> ||  || Auto-configuration classes to exclude.
|-
|-
| 스프링 코어 || spring.beaninfo.ignore || true || Skip search of BeanInfo classes.
| 스프링 코어 || <code>spring.beaninfo.ignore</code> || TRUE || Skip search of BeanInfo classes.
|-
|-
| 스프링 캐시<ref>CacheProperties</ref> || spring.cache.cache-names ||  || Comma-separated list of cache names to create if supported by the underlying cache manager.
| 스프링 캐시[3] || <code>spring.cache.cache-names</code> ||  || 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.
| 스프링 캐시 || <code>spring.cache.ehcache.config</code> ||  || 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.
| 스프링 캐시 || <code>spring.cache.guava.spec</code> ||  || 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.
| 스프링 캐시 || <code>spring.cache.hazelcast.config</code> ||  || 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.
| 스프링 캐시 || <code>spring.cache.infinispan.config</code> ||  || 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.
| 스프링 캐시 || <code>spring.cache.jcache.config</code> ||  || 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.
| 스프링 캐시 || <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.type ||  || Cache type, auto-detected according to the environment by default.
| 스프링 캐시 || <code>spring.cache.type</code> ||  || Cache type, auto-detected according to the environment by default.
|-
|-
| 스프링 설정<ref>ConfigFileApplicationListener</ref> || spring.config.location ||  || Config file locations.
| 스프링 설정[4] || <code>spring.config.location</code> ||  || Config file locations.
|-
|-
| 스프링 설정 || spring.config.name || application || Config file name.
| 스프링 설정 || <code>spring.config.name</code> || application || Config file name.
|-
|-
| HAZELCAST<ref>HazelcastProperties</ref> || spring.hazelcast.config ||  || The location of the configuration file to use to initialize Hazelcast.
| HAZELCAST[5] || <code>spring.hazelcast.config</code> ||  || The location of the configuration file to use to initialize Hazelcast.
|-
|-
| JMX || spring.jmx.default-domain ||  || JMX domain name.
| JMX || <code>spring.jmx.default-domain</code> ||  || JMX domain name.
|-
|-
| JMX || spring.jmx.enabled || true || Expose management beans to the JMX domain.
| JMX || <code>spring.jmx.enabled</code> || TRUE || Expose management beans to the JMX domain.
|-
|-
| JMX || spring.jmx.server || mbeanServer || MBeanServer bean name.
| JMX || <code>spring.jmx.server</code> || mbeanServer || MBeanServer bean name.
|-
|-
| 이메일<ref>MailProperties</ref> || spring.mail.default-encoding || UTF-8 || Default MimeMessage encoding.
| 이메일[6] || <code>spring.mail.default-encoding</code> || UTF-8 || Default MimeMessage encoding.
|-
|-
| 이메일 || spring.mail.host ||  || SMTP server host. For instance `smtp.example.com`
| 이메일 || <code>spring.mail.host</code> ||  || SMTP server host. For instance `smtp.example.com`
|-
|-
| 이메일 || spring.mail.jndi-name ||  || Session JNDI name. When set, takes precedence to others mail settings.
| 이메일 || <code>spring.mail.jndi-name</code> ||  || Session JNDI name. When set, takes precedence to others mail settings.
|-
|-
| 이메일 || spring.mail.password ||  || Login password of the SMTP server.
| 이메일 || <code>spring.mail.password</code> ||  || Login password of the SMTP server.
|-
|-
| 이메일 || spring.mail.port ||  || SMTP server port.
| 이메일 || <code>spring.mail.port</code> ||  || SMTP server port.
|-
|-
| 이메일 || spring.mail.properties.* ||  || Additional JavaMail session properties.
| 이메일 || <code>spring.mail.properties.*</code> ||  || Additional JavaMail session properties.
|-
|-
| 이메일 || spring.mail.protocol || smtp || Protocol used by the SMTP server.
| 이메일 || <code>spring.mail.protocol</code> || smtp || Protocol used by the SMTP server.
|-
|-
| 이메일 || spring.mail.test-connection || false || Test that the mail server is available on startup.
| 이메일 || <code>spring.mail.test-connection</code> || FALSE || Test that the mail server is available on startup.
|-
|-
| 이메일 || spring.mail.username ||  || Login user of the SMTP server.
| 이메일 || <code>spring.mail.username</code> ||  || Login user of the SMTP server.
|-
|-
| 앱설정<ref>SpringApplication</ref> || spring.main.banner-mode || console || Mode used to display the banner when the application runs.
| 앱설정[7] || <code>spring.main.banner-mode</code> || 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.
| 앱설정 || <code>spring.main.sources</code> ||  || 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).
| 앱설정 || <code>spring.main.web-environment</code> ||  || Run the application in a web environment (auto-detected by default).
|-
|-
| 파일인코딩<ref>FileEncodingApplicationListener</ref> || spring.mandatory-file-encoding ||  || Expected character encoding the application must use.
| 파일인코딩[8] || <code>spring.mandatory-file-encoding</code> ||  || Expected character encoding the application must use.
|-
|-
| 국제화<ref>MessageSourceAutoConfiguration</ref> || spring.messages.basename || messages || Comma-separated list of basenames, each following the ResourceBundle convention.
| 국제화[9] || <code>spring.messages.basename</code> || 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.
| 국제화 || <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.encoding || UTF-8 || Message bundles encoding.
| 국제화 || <code>spring.messages.encoding</code> || 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.
| 국제화 || <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.output.ansi.enabled || detect || Configure the ANSI output (can be "detect", "always", "never").
| 출력 || <code>spring.output.ansi.enabled</code> || detect || Configure the ANSI output (can be "detect", "always", "never").
|-
|-
| PID파일<ref>ApplicationPidFileWriter</ref> || spring.pid.fail-on-write-error ||  || Fail if ApplicationPidFileWriter is used but it cannot write the PID file.
| PID파일[10] || <code>spring.pid.fail-on-write-error</code> ||  || Fail if ApplicationPidFileWriter is used but it cannot write the PID file.
|-
|-
| PID파일 || spring.pid.file ||  || Location of the PID file to write (if ApplicationPidFileWriter is used).
| PID파일 || <code>spring.pid.file</code> ||  || Location of the PID file to write (if ApplicationPidFileWriter is used).
|-
|-
| 프로파일 || spring.profiles.active ||  || Comma-separated list of active profiles.
| 프로파일 || <code>spring.profiles.active</code> ||  || Comma-separated list of active profiles.
|-
|-
| 프로파일 || spring.profiles.include ||  || Unconditionally activate the specified comma separated profiles.
| 프로파일 || <code>spring.profiles.include</code> ||  || Unconditionally activate the specified comma separated profiles.
|-
|-
| SENDGRID<ref>SendGridAutoConfiguration</ref> || spring.sendgrid.password ||  || SendGrid account password
| SENDGRID[11] || <code>spring.sendgrid.password</code> ||  || SendGrid account password
|-
|-
| SENDGRID || spring.sendgrid.proxy.host ||  || SendGrid proxy host
| SENDGRID || <code>spring.sendgrid.proxy.host</code> ||  || SendGrid proxy host
|-
|-
| SENDGRID || spring.sendgrid.proxy.port ||  || SendGrid proxy port
| SENDGRID || <code>spring.sendgrid.proxy.port</code> ||  || SendGrid proxy port
|-
|-
| SENDGRID || spring.sendgrid.username ||  || SendGrid account username
| SENDGRID || <code>spring.sendgrid.username</code> ||  || SendGrid account username
|}
|}



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

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

1 목록

종류 변수 기본값 설명
배너 banner.charset UTF-8 Banner file encoding.
배너 banner.location classpath:banner.txt Banner file location.
로깅 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.
AOP 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.
IDENTITY 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.
ADMIN 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 domain name.
JMX spring.jmx.enabled TRUE Expose management beans to the JMX domain.
JMX 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.
PID파일 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
SENDGRID spring.sendgrid.proxy.host SendGrid proxy host
SENDGRID spring.sendgrid.proxy.port SendGrid proxy port
SENDGRID spring.sendgrid.username SendGrid account username

2 같이 보기

3 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}