Chapter 8. Logging and Monitoring
This hour describes how the logging system in Apache works and how to customize it—which information to store and where to do it. In this hour, you will learn how to
Understand log formats and logging levels
Rotate and analyze logs
Interpret common errors that might appear in your logs
Monitor Apache resource usage and performance using
mod_status
Logging HTTP Requests
You can keep track of who visits your Web sites by logging accesses to the servers hosting them. You can log every aspect of the requests and responses, including the IP address of the client, the user, and the resource accessed. You need to take three steps to create a request log:
Define what you want to log; your log format
Define where you want to log ...
Get Sams Teach Yourself Apache 2 in 24 Hours 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.