Re: Logging hostname/virutal name in the log

2010-10-19 Thread Konstantin Kolinko
2010/10/19 Mohit Anchlia : > 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 > >

Logging hostname/virutal name in the log

2010-10-19 Thread Mohit Anchlia
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 vir