Hello, again, Tomcat community:
I found the answer to my own question below:
Use:
pattern=%{X-Forwarded-for}i %l %u %t %r %s %b
in the access log valve config.
Only thing: I would like to surround the %r with %r, as
is done in the common setup.
What byzantine combination of single quote,
: Maurice Yarrow [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, November 03, 2006 4:23 PM
Subject: obtain X-Forwarded-for: client-IP-address in access logs
Hello Tomcat community
I have tomcat (5.0.28) running behind pound (2.1.3)
reverse-proxy-load-balancer
... for the quotes simply use the predefined xml entity:
quot;
Maurice Yarrow schrieb:
Hello, again, Tomcat community:
I found the answer to my own question below:
Use:
pattern=%{X-Forwarded-for}i %l %u %t %r %s %b
in the access log valve config.
Only thing: I would like to
Rainer (and also, Martin)
Thanks, gentlemen.
Maurice
Rainer Jung wrote:
... for the quotes simply use the predefined xml entity:
quot;
Maurice Yarrow schrieb:
Hello, again, Tomcat community:
I found the answer to my own question below:
Use:
pattern=%{X-Forwarded-for}i %l %u %t