Exercise 1: Checking "How Slow" From the Access Log — Possible Solution ==================================================================== WHY THIS MIGHT NOT BE POSSIBLE ------------------------------ Per this chapter, "neither Common nor Combined Log Format includes response time at all." Both the default Apache and default Nginx access log formats simply don't record how long a request took to process - the field doesn't exist in the log line unless it has been explicitly added. WHAT NEEDS TO BE TRUE FIRST ------------------------------ Per this chapter, response time has to be deliberately added to the server's own log configuration before it will ever appear in the access log: Apache needs %D (microseconds) or %T (seconds) added to a custom LogFormat, and Nginx needs $request_time added to a custom log_format directive. Without one of these already configured, "how slow was it" simply isn't a question the existing access log can answer, no matter how carefully it's read. WHAT TO DO INSTEAD ------------------------------ Per this chapter's own warning box, the very first step is "checking... whether it's been added to the server's own log format configuration" - confirming whether timing is actually being logged at all, before trying to read a timing value that might not exist in the file. WHY THIS WORKS AS AN ANSWER ------------------------------ It correctly identifies that default access log formats omit response time entirely, and correctly names the specific directives (%D/%T for Apache, $request_time for Nginx) that must be configured before the access log can actually answer a "how slow" question.