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 {
compile group: 'log4j', name: 'log4j', version: '1.2.9'
// LOG
testCompile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
// APACHE
compile group: 'commons-logging', name: 'commons-logging', version: '1.1.1'
@ -42,6 +43,8 @@ dependencies {
// XML
compile group: 'org.dom4j', name: 'dom4j', version: '2.1.1'
compile group: 'org.springframework.boot', name: 'spring-boot', version: '2.1.8.RELEASE'
// TEST
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.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- Logging -->
<log4j2.version>2.8.1</log4j2.version>
<!-- LOG -->
<logback.version>1.2.3</logback.version>
</properties>
<profiles>
<profile>
<id>local</id>
@ -35,6 +33,14 @@
</profiles>
<dependencies>
<!-- LOG -->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
<scope>test</scope>
</dependency>
<!-- APACHE -->
<dependency>
<groupId>org.apache.commons</groupId>