Apps

Codex Desktop Logs

Codex Desktop writes rotating diagnostic logs on Windows for app startup, renderer and main-process events, updater activity, network requests, and crash or exception traces. These plain-text and structured log files accumulate across the classic desktop install and the packaged app locations, especially after repeated launches, failed updates, or debugging sessions. Kudu removes only Codex Desktop log files older than one week from its Logs folders, and does not scan the .codex task, state, memory, or activity databases, nor any account data, prompts, settings, or saved work.

Why clean Codex Desktop Logs?

  • Repeated startup failures or sign-in loops can leave behind many large main-process and renderer log files, and the visible symptom is Codex consuming hundreds of megabytes or more in AppData even after the app is working again
  • Verbose network and updater logging during connection problems produces fast-growing text logs, which users usually notice as unexpected disk usage on the system drive rather than any benefit inside the app
  • Crash-restart cycles generate duplicate exception traces and recovery logs, so after a bad build or extension conflict you may find the Logs folder keeps expanding between launches
  • Old diagnostic logs make troubleshooting harder because current errors are buried under stale entries, and users opening the folder or sending logs to support often cannot tell which files still matter
  • Systems with limited free space can be pushed into low-disk warnings by accumulated Codex logs from multiple install locations, especially when both the Win32 and packaged app paths contain historical log sets
  • Cleaning old logs removes obsolete telemetry from previous app versions and update attempts while leaving active state untouched, so you reclaim space without affecting chats, local databases, preferences, or sign-in
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.