aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter.danner <peter.danner@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-01-14 23:43:50 +0000
committerpeter.danner <peter.danner@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-01-14 23:43:50 +0000
commita2ced6202bb34362c9cec4e10e6df2d0bdcc8ea5 (patch)
tree933b1dab286a451be0cff741b6a62976d4b44c0a
parent8c59f6a6a349f858688b5a786d6983f5701dac0c (diff)
downloadmoa-id-spss-a2ced6202bb34362c9cec4e10e6df2d0bdcc8ea5.tar.gz
moa-id-spss-a2ced6202bb34362c9cec4e10e6df2d0bdcc8ea5.tar.bz2
moa-id-spss-a2ced6202bb34362c9cec4e10e6df2d0bdcc8ea5.zip
write moa-spss.log into ${catalina.home}/logs directory
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@783 d688527b-c9ab-4aba-bd8d-4036d912da1d
-rw-r--r--spss.handbook/conf/moa-spss/log4j.properties6
1 files changed, 3 insertions, 3 deletions
diff --git a/spss.handbook/conf/moa-spss/log4j.properties b/spss.handbook/conf/moa-spss/log4j.properties
index be9d38586..f6abfd495 100644
--- a/spss.handbook/conf/moa-spss/log4j.properties
+++ b/spss.handbook/conf/moa-spss/log4j.properties
@@ -16,10 +16,10 @@ log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%5p | %d{dd HH:mm:ss,SSS} | %20c | %10t | %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,
+# to the file '${catalina.home}/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.File=${catalina.home}/logs/moa-spss.log
log4j.appender.moaspss.MaxFileSize=1000KB
log4j.appender.moaspss.MaxBackupIndex=10
log4j.appender.moaspss.layout=org.apache.log4j.PatternLayout
@@ -34,4 +34,4 @@ log4j.appender.moaspss.layout.ConversionPattern=%5p | %d{dd HH:mm:ss,SSS} | %20c
#log4j.appender.JDBC.driver=org.postgresql.Driver
#log4j.appender.JDBC.URL=jdbc:postgresql://10.16.46.108/moa?user=moa&password=moatest
#log4j.appender.JDBC.layout=org.apache.log4j.PatternLayout
-#log4j.appender.JDBC.sql=INSERT INTO spss_log (log_time, log_level, log_msg) VALUES ('%d{ yyyy-MM-dd HH:mm:ss.SSS}', '%5p', '%m') \ No newline at end of file
+#log4j.appender.JDBC.sql=INSERT INTO spss_log (log_time, log_level, log_msg) VALUES ('%d{ yyyy-MM-dd HH:mm:ss.SSS}', '%5p', '%m')