Question

By default, Apache records an absolute URI in access_log and error_log file. Because I have multiple hosts (domains, subdomains) pointed to same directory and logs for all such hosts go into one access and error log file, I would like to configure (if possible) Apache to include host information within such log records. Is there a way to do so?

Was it helpful?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top