There is no way.
But you can alter the format property to log the Via header which does
have the ip address. (But it will also have more text in it too)
The javadocs for AccessLogValve have all the variables you can use.
-Tim
Angelo Chen wrote:
Hi,
I run tomcat behind an Apache server,
On 17.09.2009 15:26, Tim Funk wrote:
There is no way.
But you can alter the format property to log the Via header which does
have the ip address. (But it will also have more text in it too)
The X-Forwarded-For request header should do it. mod_proxy sets it. If
you use mod_proxy_ajp, then
/access-log-and-Apache-server-tp25490807p25490807.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h