Skip to content

Commit

Permalink
#22 log4j
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 25, 2017
1 parent 6fd4e4f commit 70a1304
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,16 @@ SOFTWARE.
<artifactId>asm</artifactId>
<version>6.0</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.jcabi</groupId>
<artifactId>jcabi-xml</artifactId>
Expand Down Expand Up @@ -170,6 +180,7 @@ SOFTWARE.
<exclude>pmd:/src/it/.*</exclude>
<exclude>pmd:/src/test/resources/.*</exclude>
<exclude>findbugs:.*</exclude>
<exclude>duplicatefinder:.*</exclude>
</excludes>
</configuration>
</plugin>
Expand Down
7 changes: 7 additions & 0 deletions src/main/resources/log4j.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
log4j.rootLogger=WARN, CONSOLE

log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%t %c: %m%n

log4j.logger.org.jpeek=INFO

0 comments on commit 70a1304

Please sign in to comment.