File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes tomcat: Log all access Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat: Log all access" Watch "tomcat: Log all access" New topic

tomcat: Log all access

alain martin
Ranch Hand

Joined: Apr 11, 2005
Posts: 43
I want log all acceses to Tomcat in order to detect a problem with certificates.

I configurated file with "ALL" in all lines. In the log folder it create log files but all are empty.... What is wrong?


PS: My tomcat is on windows xp

<a href="" target="_blank" rel="nofollow"></a>
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

In $CATALINA_HOME/conf/server.xml there are a few options for access logging.
Read the comments for each of them and un-comment the the one that best suits you.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: tomcat: Log all access
It's not a secret anymore!