diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-02-22 15:51:14 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-02-22 15:51:14 +0100 |
commit | aa5fd37ea5a4321337cc82637e1502d74f1779d8 (patch) | |
tree | 504d01c07021cb39682f8f4c118ecd8629ae3e73 /resources | |
parent | 6d1454cd8f0cc02abf2ce1231955def0db9e5569 (diff) |
Add log4j configuration file.
Diffstat (limited to 'resources')
-rw-r--r-- | resources/log4j.xml | 21 |
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> + |