diff options
author | Florian Reimair <florian.reimair@iaik.tugraz.at> | 2014-01-16 08:55:06 +0100 |
---|---|---|
committer | Florian Reimair <florian.reimair@iaik.tugraz.at> | 2014-01-27 16:37:40 +0100 |
commit | 6c7a6f8e222e4fb39a11c220b63e785f2037d428 (patch) | |
tree | 2628e16ffc7296a2d6a8a3e9c2200dbc9f1536bd /id/server/stork2-commons/src/main/resources/log4j.xml | |
parent | 8276884b9c45315df5fa951ce53b3d35f4983b22 (diff) | |
download | moa-id-spss-6c7a6f8e222e4fb39a11c220b63e785f2037d428.tar.gz moa-id-spss-6c7a6f8e222e4fb39a11c220b63e785f2037d428.tar.bz2 moa-id-spss-6c7a6f8e222e4fb39a11c220b63e785f2037d428.zip |
fix added real source of stork modules
Diffstat (limited to 'id/server/stork2-commons/src/main/resources/log4j.xml')
-rw-r--r-- | id/server/stork2-commons/src/main/resources/log4j.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/id/server/stork2-commons/src/main/resources/log4j.xml b/id/server/stork2-commons/src/main/resources/log4j.xml new file mode 100644 index 000000000..8bce0bec0 --- /dev/null +++ b/id/server/stork2-commons/src/main/resources/log4j.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> + +<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> + <appender name="MainLogger" class="org.apache.log4j.DailyRollingFileAppender"> + <param name="File" value="/opt/storklogs/stork-commons.log" /> + <param name="DatePattern" value="'.'yyyy-MM-dd" /> + <param name="Append" value="true" /> + <layout class="org.apache.log4j.PatternLayout"> + <param name="ConversionPattern" value="%d{HH:mm:ss:SSS} - %p - %C{1} - %m%n" /> + </layout> + </appender> + + <root> + <priority value="info" /> + <appender-ref ref="MainLogger" /> + </root> + +</log4j:configuration> |