REOC-67 Add logback for logger and remove log4j

This commit is contained in:
YuCheng Hu 2019-09-24 22:46:50 -04:00
parent f5a261f421
commit 432f05b31a
2 changed files with 14 additions and 5 deletions

View File

@ -28,7 +28,8 @@ configurations {
} }
dependencies { dependencies {
compile group: 'log4j', name: 'log4j', version: '1.2.9' // LOG
testCompile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
// APACHE // APACHE
compile group: 'commons-logging', name: 'commons-logging', version: '1.1.1' compile group: 'commons-logging', name: 'commons-logging', version: '1.1.1'
@ -42,6 +43,8 @@ dependencies {
// XML // XML
compile group: 'org.dom4j', name: 'dom4j', version: '2.1.1' compile group: 'org.dom4j', name: 'dom4j', version: '2.1.1'
compile group: 'org.springframework.boot', name: 'spring-boot', version: '2.1.8.RELEASE'
// TEST // TEST
testCompile group: 'junit', name: 'junit', version: '4.12' testCompile group: 'junit', name: 'junit', version: '4.12'

14
pom.xml
View File

@ -15,12 +15,10 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- Logging --> <!-- LOG -->
<log4j2.version>2.8.1</log4j2.version> <logback.version>1.2.3</logback.version>
</properties> </properties>
<profiles> <profiles>
<profile> <profile>
<id>local</id> <id>local</id>
@ -35,6 +33,14 @@
</profiles> </profiles>
<dependencies> <dependencies>
<!-- LOG -->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
<scope>test</scope>
</dependency>
<!-- APACHE --> <!-- APACHE -->
<dependency> <dependency>
<groupId>org.apache.commons</groupId> <groupId>org.apache.commons</groupId>