Springboot - 项目的全部可配置属性及其说明

归俊杰
2023-12-01

Springboot - 项目的全部可配置属性及其说明


1.可配置的项目如下

// 包含了可配置的字段, 默认值,以及说明
// 有机会后面翻译一下

debug=false # Enable debug logs.
trace=false # Enable trace logs.

# LOGGING
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`). Names can be an exact location or relative to the curre
 类似资料: