diff --git a/IV. Spring Boot features/25.4. Log Levels.md b/IV. Spring Boot features/25.4. Log Levels.md index e69de29..19cb3f1 100644 --- a/IV. Spring Boot features/25.4. Log Levels.md +++ b/IV. Spring Boot features/25.4. Log Levels.md @@ -0,0 +1,9 @@ +### 25.4. 日志级别 + +所有支持的日志系统在Spring的Environment(例如在application.properties里)都有通过'logging.level.*=LEVEL'('LEVEL'是TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF中的一个)设置的日志级别。 + +示例:application.properties +```java +logging.level.org.springframework.web: DEBUG +logging.level.org.hibernate: ERROR +```