[plug] Making a PHP application's Apache logs meaningful
Mark O'Shea
mark at musicalstoat.co.uk
Tue Aug 30 16:03:30 WST 2005
Hi Matthew,
On Tue, August 30, 2005 3:34 pm, Matthew Lambie said:
> 'Afternoon all,
> Each content page has a title, so page 21 might be "Magical Lifesaving
> Product Extreme". When they look at their AWStats all they see is a hit
> to index.php, and there's no reference to "c=21" (which is meaningless
> anyways).
No problem, use a custom log format and include %q for the query string
after the request (so for the usual format insead of having a part that
says something like \"%r\" have \"%r%q\"). This means that at least you
are getting a reference to the page called, even if it is in code.
--
Mark O'Shea
More information about the plug
mailing list