[log4j] Configure logging level
This commit is contained in:
parent
5b05022d92
commit
6761fb0ade
1 changed files with 21 additions and 0 deletions
21
src/main/resources/log4j.xml
Normal file
21
src/main/resources/log4j.xml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
|
||||||
|
|
||||||
|
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
|
||||||
|
<appender name="console" class="org.apache.log4j.ConsoleAppender">
|
||||||
|
<param name="Target" value="System.out"/>
|
||||||
|
<layout class="org.apache.log4j.PatternLayout">
|
||||||
|
<param name="ConversionPattern" value="%-5p - %m%n"/>
|
||||||
|
</layout>
|
||||||
|
</appender>
|
||||||
|
|
||||||
|
<logger name="net.kemitix.s3thorp">
|
||||||
|
<level value="info"/>
|
||||||
|
</logger>
|
||||||
|
<root>
|
||||||
|
<priority value ="warn" />
|
||||||
|
<appender-ref ref="console" />
|
||||||
|
</root>
|
||||||
|
|
||||||
|
|
||||||
|
</log4j:configuration>
|
Loading…
Reference in a new issue