I'd like to add a CustomLog directive to my apache configuration to log the full URL requested (or at least the host portion of the URL). I have several domains being handled by the same instance of apache, and would like to be able to distinguish the domains in the logs (as now all I see is "GET /"). I see in the documentation on LogFormat it lists %U to print the path portion of the URL, but I'm looking for the host.
%{Host}iwork even for HTTP/1.0?%Vlooks right at first glance, thanks! – jrdioko Jun 23 '11 at 17:49%Vwill be identical to%{Host}iifUseCanonicalNameis disabled? – jrdioko Jun 23 '11 at 18:29%Vwill useServerNameif there is noHostheader. – larsks Jun 23 '11 at 18:46