tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik" <m...@filip.net>
Subject Re: conf/server.xml - AccessLogValve
Date Thu, 11 Sep 2003 23:41:27 GMT
oops, I spoke to soon. Looks like they didnt give you the option to change
the format.
Here is what I would do, take the AccessLogValve source code, modify it to
fit you, and use that instead. Or extend it, whatever works for you :)

The <Valve className"your.own.AccessLogValve"/> will let you do this

Filip

----- Original Message -----
From: "Filip Hanik" <mail@filip.net>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Thursday, September 11, 2003 4:36 PM
Subject: Re: conf/server.xml - AccessLogValve


you can configure it yourself using the docs

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/org/apache
/catalina/valves/AccessLogValve.html

for 4.0.4 check the javadoc downloaded with your install

Filip

----- Original Message -----
From: "Paul Wallace" <pwallace@intelematics.com.au>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Thursday, September 11, 2003 4:27 PM
Subject: RE: conf/server.xml - AccessLogValve


Sorry, my mistake: 4.0.4

Paul.

Tomcat 4 and up, Tomcat 3 and down had interceptors. not valves

1.3 looks like an Apache HTTPD version.
Filip

1.3?

Which tomcat version?

-Tim

Paul Wallace wrote:

> Hi,
> Related to a recent posting, which is getting very specific..
>
> In my server.xml I have:
>
> <Valve className="org.apache.catalina.valves.AccessLogValve"
> directory="logs" prefix="my_access_log." suffix=".txt"
> pattern="common"/>
>
> Conundrum:
> The 'common' pattern is formatting 'zone' of the date string, as
> a two digit value '00' thus:
>
> [01/Aug/2003:00:00:11 00]
>     ^^
>
> This in turn means my Web log analyser tool (Analog) is outputting
> format warnings, with no report output. When the zone is 4 digit
format,
> Analog reads the log files just fine [16/Jun/2003:17:44:31 +1000]. At
> http://httpd.apache.org/docs/logs.html#common I am told I may format
the
> zone to be 4 digits. How may this be achieved? Does anyone have the
> 'common' pattern string with the zone formatted to 4 digits?
>
> Like I said, very specific.
>
> Thanks
>
> Paul.
>
>
> ---------------------------------------------------------------------
> 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


---------------------------------------------------------------------
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


---------------------------------------------------------------------
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