This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Logging in Tomcat Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Logging in Tomcat Server" Watch "Logging in Tomcat Server" New topic
Author

Logging in Tomcat Server

Keerthi Subramanian
Greenhorn

Joined: Jun 22, 2007
Posts: 4
I have couple of questions to clarify!

1. After platform upgrade of my application to Tomcat5.5 and JDK6.1, I found there are lot of warning messages generated at server console. This message printing slows down my page loading. Can anyone tell me how to turn off these warnings.
Warning from console:
WARN [org.apache.commons.httpclient.HttpMethodBase] - <Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.>
2. Can this warning messages cause memory leak in production environment?

Any help is higly appreciated.

Thanks.
Kamal Ahmed
Ranch Hand

Joined: Feb 15, 2005
Posts: 91
try new InputStreamReader()
Kamal Ahmed
Ranch Hand

Joined: Feb 15, 2005
Posts: 91
sorry, i looked further, and in the method getResponseBody(), there is a limit imposed UFFER_WARN_TRIGGER_LIMIT, 1024 * 1024);

you might want to either get the source code, and increase the limit, OR better, use another getter for the body


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Logging in Tomcat Server
 
Similar Threads
Logging in Tomcat Server
Eclipse + APACHE Tomcat 6.0
Presentation of the Validation Warnings
No configuration found for the specified action
Unable to control logging levels in Struts2 using log4j.properties