Browse Source

Use log4j2 only for test

jianghua 4 years ago
parent
commit
a483e156ff
2 changed files with 1 additions and 0 deletions
  1. 1 0
      pom.xml
  2. 0 0
      src/test/resources/log4j2.xml

+ 1 - 0
pom.xml

@@ -151,6 +151,7 @@
             <groupId>org.apache.logging.log4j</groupId>
             <artifactId>log4j-slf4j-impl</artifactId>
             <version>2.12.1</version>
+            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>io.grpc</groupId>

+ 0 - 0
src/main/resources/log4j2.xml → src/test/resources/log4j2.xml