Hi,
I use Debian 6.0 (squeeze) and nginx default package.
I recently moved to use nginx.
I want to know how to enable hostname lookups to logfiles?
I used Apache2 before.
I used "HostnameLookups On".
Log files are now in format:
1.2.3.4 - - [01/Dec/2011:11:31:52 +0200] "GET / HTTP/1.1" 200 578 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0"
and wanted like in Apache2
my.hostname.domain.x - - [01/Dec/2011:11:31:52 +0200] "GET / HTTP/1.1" 200 578 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0"
Please help.
Thank you very much for help.