This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 3 Logging" Watch "Tomcat 3 Logging" New topic
Author

Tomcat 3 Logging

Joe Skora
Greenhorn

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.
Thanks,
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat 3 Logging