aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main/webapp/WEB-INF/log4j.properties
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2013-07-26 17:07:15 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2013-07-26 17:07:15 +0200
commit99694b29f82f858f5b6163e6a3d6c11caaeb487e (patch)
treeb46883533cd71c9f47047c38b5c43469a311a731 /id/ConfigWebTool/src/main/webapp/WEB-INF/log4j.properties
parentcc2e2e4ecf5bd8c4bbe16edba5a7d63fa808adcb (diff)
downloadmoa-id-spss-99694b29f82f858f5b6163e6a3d6c11caaeb487e.tar.gz
moa-id-spss-99694b29f82f858f5b6163e6a3d6c11caaeb487e.tar.bz2
moa-id-spss-99694b29f82f858f5b6163e6a3d6c11caaeb487e.zip
Configuration Web-Application
Diffstat (limited to 'id/ConfigWebTool/src/main/webapp/WEB-INF/log4j.properties')
-rw-r--r--id/ConfigWebTool/src/main/webapp/WEB-INF/log4j.properties20
1 files changed, 20 insertions, 0 deletions
diff --git a/id/ConfigWebTool/src/main/webapp/WEB-INF/log4j.properties b/id/ConfigWebTool/src/main/webapp/WEB-INF/log4j.properties
new file mode 100644
index 000000000..3ca86f404
--- /dev/null
+++ b/id/ConfigWebTool/src/main/webapp/WEB-INF/log4j.properties
@@ -0,0 +1,20 @@
+# Set root category priority to INFO and its only appender to CONSOLE.
+log4j.rootCategory=INFO, CONSOLE
+#log4j.rootCategory=INFO, CONSOLE, LOGFILE
+
+# Set the enterprise logger category to FATAL and its only appender to CONSOLE.
+log4j.logger.org.apache.axis.enterprise=FATAL, CONSOLE
+
+# CONSOLE is set to be a ConsoleAppender using a PatternLayout.
+log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
+log4j.appender.CONSOLE.Threshold=INFO
+log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
+log4j.appender.CONSOLE.layout.ConversionPattern=- %m%n
+
+# LOGFILE is set to be a File appender using a PatternLayout.
+log4j.appender.LOGFILE=org.apache.log4j.FileAppender
+log4j.appender.LOGFILE.File=axis.log
+log4j.appender.LOGFILE.Append=true
+log4j.appender.LOGFILE.Threshold=INFO
+log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
+log4j.appender.LOGFILE.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n