Skip to content

Commit

Permalink
Fix log4j config
Browse files Browse the repository at this point in the history
  • Loading branch information
morganastra committed Jan 24, 2019
1 parent fc3e823 commit 082bbc6
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions resources/log4j.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration debug="true"
xmlns:log4j='http://jakarta.apache.org/log4j/'>

<appender name="console" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern"
value="%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n" />
</layout>
</appender>

<root>
<level value="INFO" />
<appender-ref ref="console" />
</root>
</log4j:configuration>

0 comments on commit 082bbc6

Please sign in to comment.