tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Walter Thompson" <Wal...@oligos.com>
Subject RE: Tomcat producing (near) duplicate Catalina logs
Date Fri, 13 Jun 2008 15:41:59 GMT
Check your server.xml config file for valves-logs settings. 

-----Original Message-----
From: Lucas Campbell [mailto:lucas.campbell@xe.com] 
Sent: Friday, June 13, 2008 9:33 AM
To: users@tomcat.apache.org
Subject: Tomcat producing (near) duplicate Catalina logs

Recently we've discovered that our Tomcat server is producing near
duplicate Catalina logs. I say near because sometimes the logs are
exactly the same, then other times one version will have more
information than the other (not constantly one having more than the
other). We can't seem to figure out where they are being produced from
or why they would be different.

Here's a smattering of the logs so you can see what I'm talking about.  
The logs use both . and _, they're produced at the exact same times.
-rw-r--r-- 1 tomcat6 nogroup   12675 2008-02-24 17:30 
catalina_2008-02-24.log
-rw-r--r-- 1 tomcat6 nogroup   15027 2008-02-24 17:30 
catalina.2008-02-24.log
-rw-r--r-- 1 tomcat6 nogroup    9937 2008-03-04 15:46 
catalina_2008-03-04.log
-rw-r--r-- 1 tomcat6 nogroup    9734 2008-03-04 15:46 
catalina.2008-03-04.log
-rw-r--r-- 1 tomcat6 nogroup    1160 2008-03-05 15:08 
catalina_2008-03-05.log
-rw-r--r-- 1 tomcat6 nogroup    1160 2008-03-05 15:08 
catalina.2008-03-05.log
-rw-r--r-- 1 tomcat6 nogroup    7509 2008-03-06 17:36 
catalina_2008-03-06.log
-rw-r--r-- 1 tomcat6 nogroup    7509 2008-03-06 17:36 
catalina.2008-03-06.log
-rw-r--r-- 1 tomcat6 nogroup    5219 2008-06-12 10:50 
catalina_2008-06-12.log
-rw-r--r-- 1 tomcat6 nogroup    5016 2008-06-12 10:50 
catalina.2008-06-12.log

All the information I was able to find seemed to be pointing at the
log4j.properties file as far as logging settings. But none of the
information in it seemed to be of any use, I'll post it here because it
may be of more use to someone who knows what really might be going on.

#
# Enables debug output for Probe classes.
#
#log4j.logger.org.jstripe=DEBUG
log4j.logger.org.springframework.web.context.support=ERROR
log4j.logger.org.springframework.beans.factory.support=ERROR


log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=${catalina.base}/logs/probe.log
log4j.appender.R.MaxFileSize=5036KB
log4j.appender.R.MaxBackupIndex=4
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%d{dd MMM yyyy HH:mm:ss} [%t]
%-5p %c %x - %m%n

I've searched and searched, but I seems as though no one has run into
the problem that I'm having right now. If anyone has any idea why this
would be occurring, or where it is being produced from it would be
greatly appreciated.

Thanks,

Lucas

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message