I would try single quotes:
pattern='%h %l %u %t "%r" %s %b %{Referer}i %{User-Agent}i'

-Tim



Lemke, Michael IZ/HZA-IOR wrote:

Thanks, that'll probably do it.  But how do I code it in the server.xml
file?  My first experiments aren't liked by tomcat:

<Valve className="org.apache.catalina.valves.AccessLogValve"
                 directory="logs"  prefix="AccessLog." suffix=""
                 rotatable="true"
                 pattern="%h %l %u %t \"%r\" %s %b %{Referer}i
%{User-Agent}i" resolveHosts="true"/>

How do I get the quotes right?

Thanks again,
Michael


-----Original Message-----
From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 1:15 PM
To: Tomcat Users List
Subject: Re: TC4.1.30: AccessLogValve



%{Content-Length}i

-Tim

Lemke, Michael IZ/HZA-IOR wrote:


Hi,

I've got TC 4.1.30 running. How can make the AccessLogValve report
the bytes *received* for PUT/POST requests? Or is there

another way to

log
it?

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to