diff options
Diffstat (limited to 'erecht.client.ss/data/conf/log4j.properties')
-rw-r--r-- | erecht.client.ss/data/conf/log4j.properties | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/erecht.client.ss/data/conf/log4j.properties b/erecht.client.ss/data/conf/log4j.properties new file mode 100644 index 000000000..7a5b44b1d --- /dev/null +++ b/erecht.client.ss/data/conf/log4j.properties @@ -0,0 +1,22 @@ +# +# Sample log4j configuration for the MOA-SS E-Recht Client web service +# + +# Configure root logger and loggers for moa-spss +log4j.rootLogger=info, stdout +log4j.logger.erechtclient=debug, moasse + +# 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} | %20c | %10t | %m%n + +# Configure the 'moasse' appender to write moa ss e-recht client related logging output +# to the file 'logs/moa-ss-erecht-client.log'. The file is rolled over every 1000KB, +# and a maximum history of 10 log files is being kept. +log4j.appender.moasse=org.apache.log4j.RollingFileAppender +log4j.appender.moasse.File=${catalina.base}/logs/moa-ss-erecht-client.log +log4j.appender.moasse.MaxFileSize=1000KB +log4j.appender.moasse.MaxBackupIndex=10 +log4j.appender.moasse.layout=org.apache.log4j.PatternLayout +log4j.appender.moasse.layout.ConversionPattern=%5p | %d{dd HH:mm:ss,SSS} | %20c | %10t | %m%n |