Codex Log Guard

•
263
•

Diagnoses excessive local Codex SQLite diagnostic logging and safely mitigates disk writes to protect SSD health.

Codex Log Guard diagnoses and controls persistent SQLite diagnostic logging from Codex (logs_2.sqlite), mitigating unnecessary disk wear and SSD TBW degradation. It inspects live databases with read-only safety checks, installs a non-destructive insert-blocking trigger to halt logging churn, and executes safe database cleanups backed by verified timestamped backups and WAL checkpoints.

主な機能

01Non-destructive log insertion blocking via SQLite triggers
02Real-time write churn detection using ID drift and row count sampling
03Reversible logging restoration by safely dropping protection triggers
04Read-only diagnostic inspection of Codex SQLite logs and process handles
05Safe log cleanup with automated timestamped backups and integrity checks
06263 GitHub stars

ユースケース

01Preventing SSD wear and unnecessary disk write churn caused by Codex TRACE/DEBUG logging
02Reclaiming disk space safely through validated SQLite backups and WAL checkpoints
03Diagnosing whether logs_2.sqlite or WAL files are actively ballooning in size