the tc_log is not an access log writing down every request as it comes in -- it is just the data you see in the Tomcat window when you run it and through the server.xml file you can redirect it to a file. So, no, I do not see an access_log type of log feature in Tomcat to the best of my knowledge
-----Original Message-----
From: Luba Powell [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 17, 2001 2:57 PM
To: [EMAIL PROTECTED]
Subject: Re: access log for Tomcat

Similar logging capacity exists in version 3:
 
\conf\server.xml:
 
Logging in Tomcat is quite flexible; we can either have a log
         file per module (example: ContextManager) or we can have one
         for Servlets and one for Jasper, or we can just have one
         tomcat.log for both Servlet and Jasper.  Right now there are
         three standard log streams, "tc_log", "servlet_log", and
         "JASPER_LOG". 
----- Original Message -----
Sent: Sunday, June 17, 2001 8:50 AM
Subject: Re: access log for Tomcat

David:
There is a global entry:
 
<!-- Global logger unless overridden at lower levels -->
      <Logger className="org.apache.catalina.logger.FileLogger"
              prefix="catalina_log." suffix=".txt"
              timestamp="true"/>
 
Are you saying that this doesn't work?
----- Original Message -----
Sent: Sunday, June 17, 2001 7:44 AM
Subject: access log for Tomcat

Is there some way to configure Tomcat to have a log of all web requests coming in similar to access_log in Apache?
 
TIA,
David

Reply via email to