I have a test apache2 install with about 6ish virtual sites. I want to use the one common log file and was looking for a log file directive that would indicate which of the virtual sites is being accessed, either its directory, or domain name. The %U doesn't help since since almost all the URL paths are index.php and it doesn't have the path, eg.
...htdocs/virtualHomeDirectory/ where the index.php is actually located.
There is the %{someEnvironmentVariable}e but I'm not finding what the available environment variables are or if I can define my own custom one with the info I'm looking for.