Logging Remote hostname - Access Log

#1
Hi, I've set up an access log successfully on my virtual host.

However, I'm trying to get the remote hostname in there too, via the custom log format which OLS uses from Apache.

from: http://httpd.apache.org/docs/current/mod/mod_log_config.html

'%h Remote hostname. Will log the IP address if HostnameLookups is set to Off, which is the default. If it logs the hostname for only a few hosts, you probably have access control directives mentioning them by name. See the Require host documentation. '

I'm getting the IP... is there any way to turn on, or there something similar to the HostnameLookups directive that I can use in OLS?

Thanks in advance!
 
Top