2010/10/19 Mohit Anchlia <mohitanch...@gmail.com>:
> Currently we use proxy and x-forwarded. Proxy uses snat so when it
> gets logged we see something like:
>
> 10.128.1.5 65.204.229.11 - - [14/Oct/2010:22:29:49 -0700] POST
> /adi.cgi HTTP/1.1 200 753
>
>
> 10.128.1.5 is proxy's ip
> 65.204.229.11 is browser client ip
>
>
> I also need the name of the hostname or virtual name. For eg:
> http://abc.com/adi.cgi. So is it possible to also log abc.com?
>

%{Host}i  ?

http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/valves/AccessLogValve.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to