Chapter 24. Logging

 

“Quickly, bring me a beaker of wine, that I may wet my brain and say something clever.”

 
 --Aristophanies

Apache comes with built-in mechanisms that log activity on your server. In this chapter I'll talk about the standard way that Apache writes log files, and some of the tricks for getting more useful information and statistics out of your server.

If you have done a default installation of Apache two log files will be written when you run your server. These files are called access_log (access.log on Windows) and error_log (error.log on Windows). These files can be found (if you did a default installation) ...

Get Apache Administrator's Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.