aboutsummaryrefslogtreecommitdiff
path: root/id/server/stork2-commons/src/main/resources/log4j.xml
diff options
context:
space:
mode:
authorBojan Suzic <bojan.suzic@iaik.tugraz.at>2014-03-04 20:16:35 +0100
committerBojan Suzic <bojan.suzic@iaik.tugraz.at>2014-03-04 20:16:35 +0100
commita0d2ea64de1589b7f808240390ecb39309ed2a44 (patch)
treedec6eb272f5984d0c28751b8ec34223308f48b16 /id/server/stork2-commons/src/main/resources/log4j.xml
parent9ad88e1713f61f69f5ff6c25da7df9aca11d8baf (diff)
parent013bc5647275872ba182ad7bf62be1cbd7c80f38 (diff)
downloadmoa-id-spss-a0d2ea64de1589b7f808240390ecb39309ed2a44.tar.gz
moa-id-spss-a0d2ea64de1589b7f808240390ecb39309ed2a44.tar.bz2
moa-id-spss-a0d2ea64de1589b7f808240390ecb39309ed2a44.zip
Merge branch 'ap' of gitlab.iaik.tugraz.at:afitzek/moa-idspss into ap
Diffstat (limited to 'id/server/stork2-commons/src/main/resources/log4j.xml')
-rw-r--r--id/server/stork2-commons/src/main/resources/log4j.xml19
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>