Charles,
Thanks for taking the time to look at my problem. log4J.config files follow
immediately.
-=beeky
-------log4j.config in <catalina_home>/common/classes----------
log4j.rootLogger=ERROR, stdout, TOMCAT
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{dd-MM-yy HH:mm:ss:SSS} -
{%p} %c{2} Thread [%t]; %x %m%n
log4j.appender.TOMCAT=org.apache.log4j.DailyRollingFileAppender
log4j.appender.TOMCAT.File=${catalina.home}/logs/tomcat.log
log4j.appender.TOMCAT.DatePattern='.'yyyy-MM-dd
log4j.appender.TOMCAT.layout=org.apache.log4j.PatternLayout
log4j.appender.TOMCAT.layout.ConversionPattern=%d{dd-MM-yy HH:mm:ss:SSS} -
{%p} %c{2} Thread [%t]; %x %m%n
----------- log4j.config in the applications WEB-INF dir
--------------------
log4j.rootCategory=debug, OBIS
#log4j.rootCategory=OBIS
# this appender creates a new file for the past day logs
log4j.appender.OBIS=org.apache.log4j.DailyRollingFileAppender
# this property makes OBIS.log the 'current' log file for each day
log4j.appender.OBIS.File=C:/Program Files/Apache Software
Foundation/apache-tomcat-5.5.27/webapps/OBIS1.2/OBISLog/OBIS.log
# This appender will log messages with priority equal to or higher than this
log4j.appender.OBIS.Threshold=DEBUG
# Suppress the tomcat logging whilst DEBUG is switched on
log4j.logger.org.apache.catalina.core=ERROR
log4j.logger.org.apache.catalina.session=ERROR
log4j.logger.org.apache.jasper.compiler=ERROR
log4j.appender.OBIS.DatePattern='.'yyyy-MM-dd
# this property specifies pattern based layouts
# use any pattern that you prefer
log4j.appender.OBIS.layout=org.apache.log4j.PatternLayout
# Spring logging
#log4j.logger.org.springframework=TRACE
# format: date time as first column
log4j.appender.OBIS.layout.ConversionPattern=[%d{ISO8601}]%p%x %F.%M():%L
%m%n
--
View this message in context:
http://www.nabble.com/turning-off-logging-for-Tomcat-5.5.27-components-tp22742535p22743731.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]