Apps

Codex Desktop Logs

Codex Desktop writes rotating diagnostic and runtime log files under its roaming, local, and packaged app data folders to record app startup events, renderer and main-process errors, update activity, network failures, and crash details. These text and structured log files are useful for short-term troubleshooting, but older copies accumulate across Electron-style app sessions and updates without helping normal operation. Kudu removes only Codex Desktop log files older than one week from the known Logs directories, leaving the .codex task, state, memory, and activity databases, along with your account data and settings, untouched.

Why clean Codex Desktop Logs?

  • Old main-process and renderer diagnostic logs stack up after repeated launches and updates, and the most visible symptom is Codex consuming hundreds of megabytes of AppData space even though your projects and settings have not grown
  • Verbose retry and network error logging during sign-in or sync problems can produce many dated log files, leaving you with a fast-growing Logs folder and low disk space warnings on smaller system drives
  • Crash and exception reports from issues that are already fixed remain on disk indefinitely, so users often notice that reinstalling or updating Codex did not reduce its footprint because historical logs were kept
  • Packaged Microsoft Store builds can leave duplicate log histories under the LocalCache path, which shows up as multiple Codex log locations taking space at once even when you use only one current installation
  • Large collections of stale session logs make manual troubleshooting harder because current startup failures are buried among weeks of outdated entries, so the symptom is noisy log folders full of irrelevant old errors
  • Cleaning old logs is low risk because they are diagnostic records rather than live application state, and users typically notice no loss of chats, tasks, account access, or preferences after removal
What gets cleaned

Cache paths Kudu targets

Windows

%AppData%/Codex/logs
%LocalAppData%/Codex/Logs
%LocalAppData%/Packages/OpenAI.Codex_2p2nqsd0c76g0/LocalCache/Local/Codex/Logs
Frequently asked

Common questions about Codex Desktop Logs

Free & open source

Download Kudu and reclaim your disk space.

Available on Windows, macOS, and Linux. No account required, no feature gates, no telemetry without consent. All cleaning targets are open source and community-auditable.