Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

catalina.out -> amok

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone tell me how to avoid getting this stuff in catalina.out?
...
09:34:49,661 DEBUG sax:1004 - endElement(,,init-param)
09:34:49,663 DEBUG Digester:1007 - match='web-app/servlet/init-param'
09:34:49,664 DEBUG Digester:1008 - bodyText=''
09:34:49,666 DEBUG Digester:1026 - Fire body() for CallMethodRule[methodName=addInitParameter, paramCount=2, pa
ramTypes={java.lang.String, java.lang.String}]
09:34:49,669 DEBUG Digester:1046 - Popping body text ''
09:34:49,671 DEBUG Digester:1056 - Fire end() for CallMethodRule[methodName=addInitParameter, paramCount=2, par
amTypes={java.lang.String, java.lang.String}]
09:34:49,672 DEBUG Digester:2495 - Popping params
...
even with the minimal server.xml the startup time ist between 180 an 240 seconds; catalina.out is 44 MB after a few startups!
OS Suse Linux 8.1 2.4.24-xfs-040109
JVM 1.4.2_03-b02
Apache Tomcat/5.0.19
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would look for debug=" attributes in various xml configuration files since the messages appear to be DEBUG related and DIGESTER is what Catalina uses to read configuration xml files.
Bill
[ March 09, 2004: Message edited by: William Brogden ]
 
Anton Rechenauer
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
as far as i can see debug="0" !
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The reason you are getting all that spam is because Log4J is set globally to DEBUG level. What you need to do is find out how log4j is configured (depends on the context, but there may be an initialisation servlet defined in web.xml).

Then, you need to set the default appender (look for root) to INFO level.

If you need DEBUG level logging for your classes, you can set loggers that are specific to your classes (i.e. excluding the Digester packages).
 
I'm not dead! I feel happy! I'd like to go for a walk! I'll even read a tiny ad:
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic