This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat 3 Logging Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 3 Logging" Watch "Tomcat 3 Logging" New topic

Tomcat 3 Logging

Joe Skora

Joined: Jan 29, 2004
Posts: 7
We have not been able to configure a Tomcat 3 instance to log each access, similar to the Tomcat 4 "localhost_access" logs. Is there a way to do this without significant coding? Any help appreciated, this instance needs to go away, but we would like to know that it is no longer server users before retiring it.
Joe Skora
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Do you have an index.jsp file that you could alter to include something like: System.out.println("ping");

Can you throw Apache in front of it, and use apache's access logs ?

Or... hopefully someone that actually uses Tomcat 3.x will come on and tell you how to really do it.
It is sorta covered in the JavaRanch Style Guide.
subject: Tomcat 3 Logging
Similar Threads
Configuring multiple instances of tomcat in eclipse using tomcat plugin
Issues configuring tomcat 5.5 server with Eclipse europa
Tomcat Problems in Production Env
Tomcat 6.0.29 - deadlocks when loading shared classes
Regarding Tomcat Port Numbers