From 9edd08b887e746bbfceaca2eb1af96fe6e45c5bf Mon Sep 17 00:00:00 2001 From: Juan Carlos Luciani Date: Thu, 22 Feb 2007 22:58:49 +0000 Subject: [PATCH] Completed the changes to switch from logging to std.out to log4j. --- .../Svc/templates/windows/log4j.properties | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/CASA-auth-token/server-java/Svc/templates/windows/log4j.properties b/CASA-auth-token/server-java/Svc/templates/windows/log4j.properties index e37a050d..ba572e94 100644 --- a/CASA-auth-token/server-java/Svc/templates/windows/log4j.properties +++ b/CASA-auth-token/server-java/Svc/templates/windows/log4j.properties @@ -18,3 +18,20 @@ log4j.appender.DefaultAppender.MaxFileSize=100KB log4j.appender.DefaultAppender.MaxBackupIndex=2 log4j.appender.DefaultAppender.layout=org.apache.log4j.PatternLayout log4j.appender.DefaultAppender.layout.ConversionPattern=%d{ISO8601} %p %C{2} %m%n + +# +# ATS_Trace logger configuration. +# +log4j.logger.ATS_Trace=info, TraceAppender +log4j.additivity.ATS_Trace=false + +# +# TraceAppender configuration. +# +log4j.appender.TraceAppender=org.apache.log4j.RollingFileAppender +log4j.appender.DefaultAppender.File=ATS_INSTALL_DIRats/catalinabase/logs/ats.trace +log4j.appender.TraceAppender.MaxFileSize=100KB +log4j.appender.TraceAppender.MaxBackupIndex=2 +log4j.appender.TraceAppender.layout=org.apache.log4j.PatternLayout +log4j.appender.TraceAppender.layout.ConversionPattern=%d{ISO8601} %p [%x] %m%n +