diff options
author | pdanner <pdanner@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2007-09-04 14:59:26 +0000 |
---|---|---|
committer | pdanner <pdanner@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2007-09-04 14:59:26 +0000 |
commit | 52b773fb76491aac2a7dc095005acda9c6ffac02 (patch) | |
tree | bfa46348d97f70a1e1ff3de012ed6724769d34fd /spss/handbook/clients/webservice/conf/log4j.properties | |
parent | 74a6925a47adaac292b3e2da326b08adc0239235 (diff) | |
download | moa-id-spss-52b773fb76491aac2a7dc095005acda9c6ffac02.tar.gz moa-id-spss-52b773fb76491aac2a7dc095005acda9c6ffac02.tar.bz2 moa-id-spss-52b773fb76491aac2a7dc095005acda9c6ffac02.zip |
optimized handbook project
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@986 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'spss/handbook/clients/webservice/conf/log4j.properties')
-rw-r--r-- | spss/handbook/clients/webservice/conf/log4j.properties | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/spss/handbook/clients/webservice/conf/log4j.properties b/spss/handbook/clients/webservice/conf/log4j.properties new file mode 100644 index 000000000..acef53003 --- /dev/null +++ b/spss/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.home}/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
+
|