aspose file tools*
The moose likes Tomcat and the fly likes W3C logs in Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "W3C logs in Tomcat" Watch "W3C logs in Tomcat" New topic
Author

W3C logs in Tomcat

Terry Jeske
Greenhorn

Joined: Apr 06, 2004
Posts: 17
Searching the web I see some Change logs on the Apache site that Tomcat has added W3C Logging, I cannot find any mention on how to enable it. I am a little surprised no one else has asked this question on the site.

Anyone have a solution for this. We are running a stand alone TC55, and the TC site says that with this configuration it degrades performance to put Apache or IIS on the front-end.
Terry Jeske
Greenhorn

Joined: Apr 06, 2004
Posts: 17
Anyone have any ideas on this. I am a bit surprised that I am the only one interested in this topic.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Uncomment the accessLog valve entry in server.xml
The file will be localhost_access_log_DATE.txt in your logs directory.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by Terry Jeske:

Anyone have a solution for this. We are running a stand alone TC55, and the TC site says that with this configuration it degrades performance to put Apache or IIS on the front-end.


Where on the TC site does it say this?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: W3C logs in Tomcat
 
Similar Threads
log retain
Connecting Apache/Tomcat with mod_jk
Apache Refusing connections while uploading/Downloading files
System.out.println statement donot show in tomact 5.0 console
RequestDispatcher working, but ultimately sends an empty HTML page to client