Codex Desktop Logs
Codex Desktop writes rotating diagnostic 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 diagnostics. These plain-text and structured log entries accumulate during normal use so issues can be diagnosed after a failed launch, sync problem, or extension crash, but older files quickly become dead weight once they are no longer relevant. 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?
- Weeks of accumulated main-process and renderer logs can consume hundreds of megabytes, and users usually notice it first as unexpectedly high AppData disk usage on a small system drive
- Repeated startup failures or network retry loops can flood the log directory with timestamped error files, leaving Codex's folders growing every day even after the underlying problem is fixed
- Verbose crash and update logs from old app versions stay behind after upgrades, so disk space keeps shrinking while the files no longer help with current troubleshooting
- Large collections of stale diagnostic logs make it harder to find the current session's errors, so real troubleshooting becomes slower because the useful entries are buried under old noise
- On systems with profile backup, roaming sync, or antivirus scanning of AppData, oversized Codex log folders can increase backup time and trigger noticeable delays when those directories are scanned
- If Codex previously hit a renderer crash loop, the app may have already recovered but the leftover crash logs remain, causing persistent disk bloat with no effect on your chats, settings, or local state
Cache paths Kudu targets
Windows
%AppData%/Codex/logs |
%LocalAppData%/Codex/Logs |
%LocalAppData%/Packages/OpenAI.Codex_2p2nqsd0c76g0/LocalCache/Local/Codex/Logs |
Common questions about Codex Desktop Logs
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.