From a2ced6202bb34362c9cec4e10e6df2d0bdcc8ea5 Mon Sep 17 00:00:00 2001 From: "peter.danner" Date: Sun, 14 Jan 2007 23:43:50 +0000 Subject: 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 --- spss.handbook/conf/moa-spss/log4j.properties | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'spss.handbook/conf') 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') -- cgit v1.2.3