Update 25.4. Log Levels.md

master
qibaoguang 2015-02-10 23:35:56 +08:00
parent 40f4bac086
commit ec5d6e0875
1 changed files with 9 additions and 0 deletions

View File

@ -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
```