tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Curwen" <mi...@gb-im.com>
Subject JK DEBUG level logging in catalina.out
Date Wed, 22 Oct 2003 20:45:01 GMT
A while back  I hijacked this conversation:
http://marc.theaimsgroup.com/?t=106621767400001&r=1&w=2
 
Here is the message of most interest:
http://marc.theaimsgroup.com/?l=tomcat-user&m=106623436423859&w=2


A couple days ago we restarted Tomcat, and now... catalina.out is HUGE
and full of DEBUG level statements from the JKCoyotHandler class!

I have confirmed that no changes have been made to my log4j.properties
file in CATALINA_HOME/common/classes
 
I'm not 100% clear on how log4j works, especially regarding something
like:

log4j.rootCategory=DEBUG
 
Most of my applications that use log4j use this type of syntax. I just
catch DEBUG from everything. (In case you didn't click the above links,
I don't use the rootCategory for the log4j config for
CATALINA_HOME/common/classes) Is it possible that Tomcat is picking this
up from one of the log4j.properties files that is in a web-app's
WEB-INF/classes directory? 
 
If so, my thought is that somewhere I have an errant log4j
configuration, that cannot (for example) open the output file, and
instead is dumping it to system.err.  But I've looked and can't find
where this might occur.  And plus, normally log4j outputs 'cannot do
this or that, please configure log4j correctly', and I'm not seeing that
message in catalina.out.
 
This is quite perplexing!
 
Here is the exact point in catalina.out where we did the re-start:
 
I know where the first two lines come from; a class I wrote before using
log4j.
Then comes the shutdown info...
Then the startup info...
I snipped a large segment of [INFO] messages from an application's
(jira) startup...
and then the first of the debug messages...


* catalina.out....
%%%%%%%%%%%%% produceDataset() %%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%% getProducerId() %%%%%%%%%%%%%%%%%%%%%%%
Stopping service Tomcat-Standalone
2003-10-20 08:33:07,763 INFO [org.quartz.core.QuartzScheduler] Scheduler
JiraQuartzScheduler_$_NON_CLUSTERED shutting down.
2003-10-20 08:33:07,764 INFO [org.quartz.core.QuartzScheduler] Scheduler
JiraQuartzScheduler_$_NON_CLUSTERED paused.
2003-10-20 08:33:07,766 INFO [org.quartz.core.QuartzScheduler] Scheduler
JiraQuartzScheduler_$_NON_CLUSTERED shutdown complete.
422558126 [main] INFO core.QuartzScheduler  - Scheduler
IDM_Scheduler_$_1 shutting down.
422558127 [main] INFO core.QuartzScheduler  - Scheduler
IDM_Scheduler_$_1 paused.
422558128 [main] INFO core.QuartzScheduler  - Scheduler
IDM_Scheduler_$_1 shutdown complete.
0 [main] INFO modeler.Registry  - Loading registry information
3 [main] INFO modeler.Registry  - Creating new Registry instance
631 [main] INFO modeler.Registry  - Creating MBeanServer
1504 [main] INFO http11.Http11Protocol  - Initializing Coyote HTTP/1.1
on port 8080
1549 [main] DEBUG server.JkCoyoteHandler  - setProperty jkHome
/usr/local/applications/tomcat4.1.24
1550 [main] DEBUG server.JkCoyoteHandler  - setProperty port 11009
1550 [main] DEBUG server.JkCoyoteHandler  - setProperty maxThreads 75
1550 [main] DEBUG server.JkCoyoteHandler  - setProperty backlog 10
1550 [main] DEBUG server.JkCoyoteHandler  - setProperty tcpNoDelay true
1551 [main] DEBUG server.JkCoyoteHandler  - setProperty soLinger -1
1551 [main] DEBUG server.JkCoyoteHandler  - setProperty soTimeout 20000
1551 [main] DEBUG server.JkCoyoteHandler  - setProperty timeout 20000
1552 [main] DEBUG server.JkCoyoteHandler  - setProperty
disableUploadTimeout false
1552 [main] DEBUG server.JkCoyoteHandler  - setProperty
maxKeepAliveRequests 100
1552 [main] DEBUG server.JkCoyoteHandler  - setProperty compression off
1552 [main] DEBUG server.JkCoyoteHandler  - setProperty secure false
Starting service Tomcat-Standalone
Apache Tomcat/4.1.24
2003-10-20 08:33:34,059 WARN
[atlassian.jira.upgrade.ConsistencyCheckImpl] Detected that you are
using Tomcat - turned off all transactions.
Starting Tyrex  Version 1.0
Intalio Inc. (C) 1999-2001. All rights reserved.
< snip />
32286 [main] INFO jdbcjobstore.JobStoreTX  - Removed 0 Volatile
Trigger(s).
32286 [main] INFO jdbcjobstore.JobStoreTX  - Removed 0 Volatile Job(s).
32289 [main] INFO jdbcjobstore.JobStoreTX  - Freed 0 triggers from
'acquired' / 'blocked' state.
32290 [main] INFO jdbcjobstore.JobStoreTX  - Recovering 0 jobs that were
in-progress at the time of the last shut-down.
32291 [main] INFO jdbcjobstore.JobStoreTX  - Recovery complete.
32291 [main] INFO jdbcjobstore.JobStoreTX  - Removed 0 stale fired job
entries.
32314 [main] INFO impl.StdSchedulerFactory  - Quartz scheduler
'IDM_Scheduler' initialized from default resource file in Quartz
package: 'quartz.properties
'
32314 [main] INFO impl.StdSchedulerFactory  - Quartz scheduler version:
1.2.2
32316 [main] INFO core.QuartzScheduler  - Scheduler IDM_Scheduler_$_1
started.
38470 [main] INFO http11.Http11Protocol  - Starting Coyote HTTP/1.1 on
port 8080
38607 [main] INFO server.JkMain  - Jk running ID=0 time=11/136
config=/usr/local/applications/tomcat4.1.24/conf/jk2.properties
212555 [Thread-10] DEBUG server.JkCoyoteHandler  - Invoke R( /image)
org.apache.coyote.Response@4e17f9 /image
212635 [Thread-10] DEBUG server.JkCoyoteHandler  - ACK 
212852 [Thread-10] DEBUG server.JkCoyoteHandler  - COMMIT 
212854 [Thread-10] DEBUG server.JkCoyoteHandler  - COMMIT sending
headers org.apache.coyote.Response@4e17f9 === MimeHeaders ===


 
The log continues from this point, with almost nothing but these DEBUG
level statements from JKCoyoteHandler 
 

-------------------------------------------
Mike Curwen                    204-885-7733
Intermediate Programmer       www.gb-im.com
-------------------------------------------
  ____   ____            ___   __  __ 
 / ___| | __ )          |_ _| |  \/  |
| |  _  |  _ \   _____   | |  | |\/| |
| |_| | | |_) | |_____|  | |  | |  | |
 \____| |____/          |___| |_|  |_|


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message