29.10. Configuring Logging

By default, every request that Apache finishes processing is written to a log file in a standard format. For each request, the client IP address, website username, date, time, URL path, status code, and number of bytes transferred is logged. In the default Apache configuration, there is only a single log file that is used for all virtual servers. You can, however, reconfigure the web server to use different files for different virtual hosts, and even to log additional information for each request.

Apache also has a log file for recording error messages, which are generated when a browser requests a page that does not exist, when an HTTP connection is terminated, or if some other unexpected condition occurs. As Section ...

Get Managing Linux® Systems with Webmin™ System Administration and Module Development 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.