Codex Desktop Logs
Codex Desktop writes diagnostic log files to its roaming and local Logs folders as you use the app, capturing renderer and main-process events, network request failures, update activity, crash details, and other troubleshooting output. These rolling text logs can accumulate across normal sessions and failed launches without improving day-to-day performance once they are more than a week old. Kudu removes only Codex Desktop log files older than seven days from the known Windows log locations, leaving accounts, prompts, settings, and the task, state, memory, and activity databases under .codex untouched.
Why clean Codex Desktop Logs?
- Repeated startup failures and auto-restart loops can leave behind many crash and exception logs, and the symptom users notice is Codex consuming hundreds of megabytes or more under AppData
- Verbose renderer and network logging during sign-in or sync problems keeps appending new entries, so disk usage grows even after the original issue is gone
- Old diagnostic logs make real troubleshooting harder because current errors are buried under stale launch, update, and request noise from previous sessions
- A long history of retained logs increases the amount of text support tools and users have to search through, which shows up as slower manual searches and more confusing duplicate error trails
- Multiple log roots across the classic desktop install and packaged Windows app can each retain their own history, so users often see space used in both Roaming and Local AppData
- Crash-report and update-related logs from past versions remain after Codex updates, leading users to think the current build is still failing when they inspect old files
- Cleaning week-old logs reduces disk clutter without touching the .codex task, state, memory, or activity databases, so observable workspace history and app configuration stay intact
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.