| | |
| | | <artifactId>logback-classic</artifactId> |
| | | <version>1.1.3</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.slf4j</groupId> |
| | | <artifactId>slf4j-api</artifactId> |
| | | <version>1.7.6</version> |
| | | </dependency> |
| | | <!--log4j--> |
| | | <!--dependency> |
| | | <groupId>log4j</groupId> |
| | |
| | | |
| | | # 鏃ュ織閰嶇疆 |
| | | logging: |
| | | #config: classpath:logback-spring.xml |
| | | #config: classpath:logback.xml |
| | | level: |
| | | com.yssh: info |
| | | org.springframework: error |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <configuration> |
| | | <!-- 鏃ュ織瀛樻斁璺緞 --> |
| | | <property name="log.path" value="E:/terrait/TianJin/YanShan/logs" /> |
| | | <property name="log.path" value="logs" /> |
| | | <!-- 鏃ュ織杈撳嚭鏍煎紡 --> |
| | | <property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n" /> |
| | | |