tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hensley, Zachary" <Zachary.Hens...@valueoptions.com>
Subject RE: access log for Tomcat
Date Mon, 02 Jul 2001 13:28:09 GMT
I am trying to write this request interceptor but I am not sure what methods
I need to implement.  Can someone give me some advice on this? currently I
have implemented the reqiestMap method.  For my logging I want to be able to
capture username, http response, ... So does it matter where I specify this
interceptor in the server.xml file?  In other words are the callbacks called
at random or are they called in the order that they appear in the server.xml
file?  Other than the javadocs in the code is there any documentation on how
to implement a RequestInterceptor?

Thanks,

Zach H.

-----Original Message-----
From: Randy Layman [mailto:randy.layman@aswethink.com]
Sent: Monday, June 18, 2001 9:52 AM
To: tomcat-user@jakarta.apache.org
Subject: RE: access log for Tomcat



	You would have to write the Java code yourself to implement this new
RequestInterceptor.  You could hard code all of the parameters for your
logging into the code, or you could make them parameters from the server.xml
file (which would be better), but this is a "you do it all yourself" kind of
effort.

	Randy

> -----Original Message-----
> From: David Rosenstark [mailto:drosenstark@alchemedia.com]
> Sent: Monday, June 18, 2001 9:27 AM
> To: 'tomcat-user@jakarta.apache.org'
> Subject: RE: access log for Tomcat
> 
> 
> I assume that this means that I have to do it all myself in 
> terms of setting
> up different options to log?
> 
> > -----Original Message-----
> > From: Randy Layman [mailto:randy.layman@aswethink.com]
> > Sent: Monday, June 18, 2001 1:09 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: RE: access log for Tomcat
> > 
> > 
> > 
> > 	There isn't a module for Tomcat that does this that I 
> > know of (and
> > nothing built into Tomcat, regardless of what Luba says), 
> > although it should
> > be fairly easy to do - you need to write a RequestInterceptor 
> > that just
> > logs, not intercepts, the requests.
> > 
> > 	Randy
> > 
> > -----Original Message-----
> > From: David Rosenstark [mailto:drosenstark@alchemedia.com]
> > Sent: Sunday, June 17, 2001 7:45 AM
> > To: 'tomcat-user@jakarta.apache.org'
> > 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
> > 
> 


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the sender by email, delete and destroy this message and its 
attachments.


**********************************************************************

Mime
View raw message