You can accomplish this by using the Combined Log Format rather than the default Common Log Format. In your Apache configuration files, search for the CustomLog keyword, and modify it to look like the ...
This module provides for flexible logging of client requests. Logs are written in a customizable format, and may be written directly to a file, or to an external program. Conditional logging is ...
logresolve is a post-processing program to resolve IP-addresses in Apache's access logfiles. To minimize impact on your nameserver, logresolve has its very own internal hash-table cache. This means ...