tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: W3C log format in Tomcat 4?
Date Tue, 02 Aug 2005 00:37:29 GMT
I think this will work ...
<Valve className="org.apache.catalina.valves.ExtendedAccessLogValve"
         directory="logs"
         pattern='c-ip cs-method cs-uri sc-status time'
         prefix="localhost_access_log." suffix=".txt"
         resolveHosts="false"/>


-Tim


Jason wrote:

> Tim,
> 
> This looks like it is what I was looking for. Since
> I'm very new to Tomcat, I'm struggling to figure out
> how to implement this valve. Do you have an example of
> a standard implementation that you could send me that
> I could paste into my server.xml file?
> 
> Thanks a bunch for your help!
> 
> Jason
> 
> 
> --- Tim Funk <funkman@joedog.org> wrote:
> 
> 
>>Try the ExtendedAccessLogValve. You'll need to look
>>in the javadocs for the 
>>details.
>>
>>
> 
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/org/apache/catalina/valves/ExtendedAccessLogValve.html
> 
>>
>>-Tim
>>
>>Jason wrote:
>>
>>
>>>I'm new to Tomcat 4 and am trying to figure out
>>
>>how to
>>
>>>configure my logs so that Deepmetrix's LiveStats 7
>>
>>can
>>
>>>import them. Does Tomcat 4 support logging to the
>>
>>W3C
>>
>>>Extended logging format? If so, could you provide
>>
>>me
>>
>>>with a link to a resource that tells how to
>>
>>configure
>>
>>>this?
>>> 
>>
>>
> ---------------------------------------------------------------------
> 
>>To unsubscribe, e-mail:
>>tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail:
>>tomcat-user-help@jakarta.apache.org
>>
>>
> 
> 
> 
> 
> 		
> ____________________________________________________
> Start your day with Yahoo! - make it your home page 
> http://www.yahoo.com/r/hs 
>  
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message