Exercise 2: Unbounded Growth and Chapter 1's Deletion Warning — Possible Solution ==================================================================== HOW THIS CHAPTER DESCRIBES THE CONNECTION ------------------------------ Per this chapter directly: "Chapter 1 warned against deleting a log file mid-incident to reclaim disk space. This is the other half of that same problem, addressed in advance: a custom log file with no rotation in place will simply grow forever, until it eventually does fill the disk on its own - turning 'we might need to free some space one day' into a real, urgent incident." WHAT THE SHARED UNDERLYING PROBLEM ACTUALLY IS ------------------------------ Both warnings are about the same underlying tension: log files consume disk space, and disk space is finite, but logs are also valuable evidence that shouldn't be casually destroyed. Chapter 1's warning addresses the REACTIVE side of this tension - what to do (and not do) once disk space has already become a crisis during an active investigation. This chapter's warning addresses the PROACTIVE side - preventing that crisis from happening in the first place, by rotating logs before they ever grow large enough to threaten available disk space. WHY BOTH WARNINGS ARE NEEDED TOGETHER ------------------------------ Per this chapter, without rotation in place, a disk-space crisis becomes more likely to occur at all - directly creating the exact situation Chapter 1 warned about. Preventing unbounded growth (this chapter) reduces how often anyone is ever tempted to reach for Chapter 1's forbidden shortcut (deleting the log) in the first place - the two warnings work together, one preventing the crisis, the other guiding the right response if it happens anyway. WHY THIS WORKS AS AN ANSWER ------------------------------ It correctly identifies both warnings as addressing the same shared disk-space tension from two different angles - prevention (this chapter) versus in-the-moment response (Chapter 1) - rather than treating them as unrelated topics that happen to both mention disk space.