diff options
Diffstat (limited to 'spss.handbook/conf/moa-spss/log4j.properties')
-rw-r--r-- | spss.handbook/conf/moa-spss/log4j.properties | 6 |
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') |