From 4d0c73640c083a800060863309129960f44fc281 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Tue, 7 Jun 2016 12:16:36 +0200 Subject: a lot of changes --- .../clients/webservice/conf/log4j.properties | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 moaSig/handbook/clients/webservice/conf/log4j.properties (limited to 'moaSig/handbook/clients/webservice/conf/log4j.properties') diff --git a/moaSig/handbook/clients/webservice/conf/log4j.properties b/moaSig/handbook/clients/webservice/conf/log4j.properties new file mode 100644 index 0000000..bf7c98c --- /dev/null +++ b/moaSig/handbook/clients/webservice/conf/log4j.properties @@ -0,0 +1,25 @@ +# commons-logging setup +org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jFactory + +# define log4j root loggers +log4j.rootLogger=info, stdout +#log4j.rootLogger=info, stdout, R +#log4j.logger.moa=info +#log4j.logger.moa.spss.server=debug +#log4j.logger.iaik.server=info +#log4j.logger.moa.id.auth=debug +#log4j.logger.moa.id.proxy=debug + +# configure the stdout appender +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} | %20.20c | %10t | %m%n + +# configure the rolling file appender (R) +log4j.appender.R=org.apache.log4j.RollingFileAppender +log4j.appender.R.File=${catalina.base}/logs/moa-id.log +log4j.appender.R.MaxFileSize=10000KB +log4j.appender.R.MaxBackupIndex=1 +log4j.appender.R.layout=org.apache.log4j.PatternLayout +log4j.appender.R.layout.ConversionPattern=%5p | %d{dd HH:mm:ss,SSS} | %t | %m%n + -- cgit v1.2.3