aboutsummaryrefslogtreecommitdiff
path: root/spss.server/data/deploy/conf/moa-spss
diff options
context:
space:
mode:
authorgregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2003-11-07 18:56:52 +0000
committergregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2003-11-07 18:56:52 +0000
commit04d0e07072552ae435ed0085f91af55e3a059a4a (patch)
tree0765c855d41d377a09d3b5e71a36f0ccbda4afc1 /spss.server/data/deploy/conf/moa-spss
parent6b0f82a8db3e6bcff12d5a4de67ee3d16661534b (diff)
downloadmoa-id-spss-04d0e07072552ae435ed0085f91af55e3a059a4a.tar.gz
moa-id-spss-04d0e07072552ae435ed0085f91af55e3a059a4a.tar.bz2
moa-id-spss-04d0e07072552ae435ed0085f91af55e3a059a4a.zip
Logging-Patterns für bessere Lesbarkeit geändert. tags/Build-1.1.0
Lage des Logfiles nach $CATALINA_HOME/logs verschoben. git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@45 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'spss.server/data/deploy/conf/moa-spss')
-rw-r--r--spss.server/data/deploy/conf/moa-spss/log4j.properties33
1 files changed, 15 insertions, 18 deletions
diff --git a/spss.server/data/deploy/conf/moa-spss/log4j.properties b/spss.server/data/deploy/conf/moa-spss/log4j.properties
index 31096ff73..32cfed9dc 100644
--- a/spss.server/data/deploy/conf/moa-spss/log4j.properties
+++ b/spss.server/data/deploy/conf/moa-spss/log4j.properties
@@ -5,28 +5,25 @@
# commons-logging setup
org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jFactory
-# Define log4j root loggers for the 'moa.spss.server' and 'iaik.server'
-# logging hierarchies.
-# All logging output is written to the 'stdout' and 'R' appenders.
-# Add JDBC if you also want to write it to the database
-log4j.rootLogger=info, stdout, R
-log4j.logger.moa.spss.server=info
-log4j.logger.iaik.server=info
+# Configure root logger and loggers for moa-spss
+log4j.rootLogger=info, stdout
+log4j.logger.moa.spss.server=info, moaspss
+log4j.logger.iaik.server=info, moaspss
-# Configure the 'stdout appender' to write logging output to the console
+# Configure the 'stdout' appender to write logging output to the console
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} | %t | %m%n
+log4j.appender.stdout.layout.ConversionPattern=%5p | %d{dd HH:mm:ss,SSS} | %20c | %10t | %m%n
-# Configure the rolling file appender 'R' to write logging output
-# to the file 'moa-spss.log'. The file is rolled over every 1000KB,
-# and a maximum history of 4 log files is being kept.
-log4j.appender.R=org.apache.log4j.RollingFileAppender
-log4j.appender.R.File=moa-spss.log
-log4j.appender.R.MaxFileSize=1000KB
-log4j.appender.R.MaxBackupIndex=4
-log4j.appender.R.layout=org.apache.log4j.PatternLayout
-log4j.appender.R.layout.ConversionPattern=%5p | %d{dd HH:mm:ss,SSS} | %t | %m%n
+# Configure the 'moaspss' appender to write moa-spss related logging output
+# to the file 'logs/moa-spss.log'. The file is rolled over every 1000KB,
+# and a maximum history of 10 log files is being kept.
+log4j.appender.moaspss=org.apache.log4j.RollingFileAppender
+log4j.appender.moaspss.File=logs/moa-spss.log
+log4j.appender.moaspss.MaxFileSize=1000KB
+log4j.appender.moaspss.MaxBackupIndex=10
+log4j.appender.moaspss.layout=org.apache.log4j.PatternLayout
+log4j.appender.moaspss.layout.ConversionPattern=%5p | %d{dd HH:mm:ss,SSS} | %20c | %10t | %m%n
# Configure the jdbc appender 'JDBC' to write logging output
# to the given PostgreSQL database