summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--resources/log4j.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/resources/log4j.xml b/resources/log4j.xml
new file mode 100644
index 0000000..5f34fc6
--- /dev/null
+++ b/resources/log4j.xml
@@ -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 %c{1} - %m%n"/>
+ </layout>
+ </appender>
+
+ <logger name="org.apache.http">
+ <level value="warn"/>
+ </logger>
+
+ <root>
+ <priority value ="info" />
+ <appender-ref ref="console" />
+ </root>
+</log4j:configuration>
+