summaryrefslogtreecommitdiff
path: root/BKULocalApp/src/main/resources/log4j.properties
diff options
context:
space:
mode:
authorwbauer <wbauer@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2008-10-01 07:30:55 +0000
committerwbauer <wbauer@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2008-10-01 07:30:55 +0000
commit7d3f6235a46f70323defa9910da240e61ca684b3 (patch)
tree2795b666ba88babbc739fdaa59d24ff83629b8d9 /BKULocalApp/src/main/resources/log4j.properties
parent8ccd9ab69dc74762567930f4c576a359502f1071 (diff)
downloadmocca-7d3f6235a46f70323defa9910da240e61ca684b3.tar.gz
mocca-7d3f6235a46f70323defa9910da240e61ca684b3.tar.bz2
mocca-7d3f6235a46f70323defa9910da240e61ca684b3.zip
Moved main parts of the configuration to bkucommon
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@78 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKULocalApp/src/main/resources/log4j.properties')
-rw-r--r--BKULocalApp/src/main/resources/log4j.properties16
1 files changed, 16 insertions, 0 deletions
diff --git a/BKULocalApp/src/main/resources/log4j.properties b/BKULocalApp/src/main/resources/log4j.properties
new file mode 100644
index 00000000..fcdcb8e8
--- /dev/null
+++ b/BKULocalApp/src/main/resources/log4j.properties
@@ -0,0 +1,16 @@
+# loglever DEBUG, appender STDOUT
+log4j.rootLogger=TRACE, STDOUT, file
+
+# STDOUT appender
+log4j.appender.STDOUT=org.apache.log4j.ConsoleAppender
+log4j.appender.STDOUT.layout=org.apache.log4j.PatternLayout
+#log4j.appender.STDOUT.layout.ConversionPattern=%5p | %d{dd HH:mm:ss,SSS} | %20c | %10t | %m%n
+#log4j.appender.STDOUT.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
+log4j.appender.STDOUT.layout.ConversionPattern=%-5p |%d | %t | %c %x- %m%n
+
+### FILE appender
+log4j.appender.file=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.file.datePattern='.'yyyy-MM-dd
+log4j.appender.file.File=${user.home}/.mocca/logs/mocca.log
+log4j.appender.file.layout=org.apache.log4j.PatternLayout
+log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n \ No newline at end of file