Varshith V Hegde describes a Codex CLI logging incident in his DEV Community article, “Codex Was Torching Your SSD and Nobody Noticed for Months.” https://dev.to/varshithvhegde/codex-was-torching-your-ssd-and-nobody-noticed-for-months-4c5h
Measure growth and write activity separately
A retention limit keeps a log database from accumulating rows indefinitely. While the application remains busy, each new batch of rows can still generate writes, and removing old rows adds more work. In SQLite's write-ahead logging mode, transactions write to the WAL and a checkpoint transfers changes into the main database. A directory-size snapshot misses that churn.
Hegde's account points to a verbose logging sink. The report describes diagnostic events that kept reaching persistent storage even when a user expected a logging override to suppress them. That makes an end-to-end check worthwhile for any tool with several logging destinations. A setting that quiets one destination can leave another destination busy.
Compare like-for-like runs
For a long-running developer tool, start with a short idle interval and record two baselines: the size of its persistence files and the process's write activity. Then repeat the measurement during a representative session of the same length. For example, keep the workspace and the actions fixed across two runs and change only the logging configuration. Check the database and its companion files at the end of both intervals.
Process observations help identify the application doing the writing. A drive-wide counter covers other workloads too, so it helps to record the same interval and account for other busy processes before attributing a change. The article describes a single heavy-use report, which gives teams a reason to measure their own workloads.
What would make a useful regression check for a local logging sink in your project: a cap on bytes written during a scripted session, a test that verifies each sink honors its filter, or both?