Authored by xjipeng

logback替换log4j

@@ -16,7 +16,7 @@ @@ -16,7 +16,7 @@
16 <mybatis.version>3.2.6</mybatis.version> 16 <mybatis.version>3.2.6</mybatis.version>
17 <!-- log4j日志文件管理包版本 --> 17 <!-- log4j日志文件管理包版本 -->
18 <slf4j.version>1.7.7</slf4j.version> 18 <slf4j.version>1.7.7</slf4j.version>
19 - <log4j.version>1.2.17</log4j.version> 19 + <logback.version>1.0.13</logback.version>
20 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 20 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21 <yoho.version>1.0.0-SNAPSHOT</yoho.version> 21 <yoho.version>1.0.0-SNAPSHOT</yoho.version>
22 </properties> 22 </properties>
@@ -196,16 +196,16 @@ @@ -196,16 +196,16 @@
196 <artifactId>slf4j-api</artifactId> 196 <artifactId>slf4j-api</artifactId>
197 <version>${slf4j.version}</version> 197 <version>${slf4j.version}</version>
198 </dependency> 198 </dependency>
199 - <dependency> 199 + <dependency>
200 <groupId>org.slf4j</groupId> 200 <groupId>org.slf4j</groupId>
201 - <artifactId>slf4j-log4j12</artifactId> 201 + <artifactId>jcl-over-slf4j</artifactId>
202 <version>${slf4j.version}</version> 202 <version>${slf4j.version}</version>
203 - </dependency>  
204 - <dependency>  
205 - <groupId>log4j</groupId>  
206 - <artifactId>log4j</artifactId>  
207 - <version>1.2.17</version>  
208 - </dependency> 203 + </dependency>
  204 + <dependency>
  205 + <groupId>ch.qos.logback</groupId>
  206 + <artifactId>logback-classic</artifactId>
  207 + <version>${logback.version}</version>
  208 + </dependency>
209 <!-- 映入JSON --> 209 <!-- 映入JSON -->
210 <dependency> 210 <dependency>
211 <groupId>com.alibaba</groupId> 211 <groupId>com.alibaba</groupId>